style: clean up CSS comments for better readability
Moved comments to their own lines to improve readability and maintainability of the CSS code. This change separates the comments from the declarations, making it easier for developers to understand the purpose of each style rule at a glance.
This commit is contained in:
parent
81c63244dc
commit
a77ad1af7a
1 changed files with 5 additions and 3 deletions
|
@ -147,7 +147,8 @@ h1 {
|
|||
}
|
||||
|
||||
.sidebar-list-title:after {
|
||||
content: "\25BC"; /* Down arrow */
|
||||
content: "\25BC";
|
||||
/* Down arrow */
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
transition: transform 0.3s ease;
|
||||
|
@ -155,7 +156,8 @@ h1 {
|
|||
|
||||
.sidebar-list:hover .sidebar-list-title:after,
|
||||
.sidebar-list:focus-within .sidebar-list-title:after {
|
||||
transform: rotate(-180deg); /* Rotate arrow */
|
||||
transform: rotate(-180deg);
|
||||
/* Rotate arrow to point up */
|
||||
}
|
||||
|
||||
.sidebar-list-content {
|
||||
|
@ -166,7 +168,7 @@ h1 {
|
|||
|
||||
.sidebar-list:hover .sidebar-list-content,
|
||||
.sidebar-list:focus-within .sidebar-list-content {
|
||||
max-height: 1000px; /* Adjust as needed */
|
||||
max-height: 1000px;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue