refactor: Tools page downgrade icon rotation

This commit is contained in:
Zack Spear
2023-11-01 14:59:01 -07:00
committed by Zack Spear
parent 82f15afbd2
commit 3a6b511de3
2 changed files with 10 additions and 1 deletions

View File

@@ -16,6 +16,15 @@
margin-left: auto;
height: 100%;
}
/**
* Tools page, rotate the Downgrade icon to prevent needing to add a new icon to the icon font.
* The pseudo element is targeted here otherwise the rotation of the span would mess up spacing with the text.
*/
a[href="/Tools/Downgrade"] .icon-update:before {
display: inline-block; /* required otherwise the rotation won't work */
rotate: 180deg;
}
</style>
<?php
// Set the path for the local manifest file

View File

@@ -5,7 +5,7 @@ Tag="upload"
---
<?php
/**
* @todo - need a downgrade icon
* @note icon-update is rotated via CSS in myservers1.php
*
* If /boot/previous/bzroot exists, then the user has the option to downgrade to the previous version.
* Parse the text file /boot/previous/changes.txt to get the version number of the previous version.