aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Swage
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2025-12-06 12:18:23 +0100
committerGravatar GitHub <noreply@github.com> 2025-12-06 12:18:23 +0100
commitd9ac9c513f733e5bc3da368e3aa3af79367c7197 (patch)
treecfdbb22fef67fc0418a26e75629ca83f54f636f3 /p/themes/Swage
parentbccda77cd49de790407c6e8c248957e6ee9382a6 (diff)
Improve sidebar toggle button position (#8286)
Ref https://github.com/FreshRSS/FreshRSS/pull/8201#issuecomment-3610813235 <img width="422" height="119" alt="grafik" src="https://github.com/user-attachments/assets/0859bf55-d8e6-4401-adda-e854bf41a64a" />
Diffstat (limited to 'p/themes/Swage')
-rw-r--r--p/themes/Swage/swage.css10
-rw-r--r--p/themes/Swage/swage.rtl.css10
2 files changed, 18 insertions, 2 deletions
diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css
index 13e6543cb..6c7bdf5f0 100644
--- a/p/themes/Swage/swage.css
+++ b/p/themes/Swage/swage.css
@@ -955,7 +955,7 @@ main.post .drop-section li.item.feed a:hover .icon {
.nav_menu {
- padding: 0;
+ padding: 0 0 0 2rem;
width: 100%;
font-size: 0;
background-color: var(--color-background-nav);
@@ -975,6 +975,10 @@ main.post .drop-section li.item.feed a:hover .icon {
}
}
+ #nav_menu_toggle_aside {
+ left: 0;
+ }
+
#toggle-unread,
#toggle-starred {
.icon {
@@ -1473,6 +1477,10 @@ main.global {
width: 100%;
}
}
+
+ #nav_menu_toggle_aside {
+ position: absolute;
+ }
}
#overlay .close,
diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css
index 0055a4979..01c53a9aa 100644
--- a/p/themes/Swage/swage.rtl.css
+++ b/p/themes/Swage/swage.rtl.css
@@ -955,7 +955,7 @@ main.post .drop-section li.item.feed a:hover .icon {
.nav_menu {
- padding: 0;
+ padding: 0 2rem 0 0;
width: 100%;
font-size: 0;
background-color: var(--color-background-nav);
@@ -975,6 +975,10 @@ main.post .drop-section li.item.feed a:hover .icon {
}
}
+ #nav_menu_toggle_aside {
+ right: 0;
+ }
+
#toggle-unread,
#toggle-starred {
.icon {
@@ -1473,6 +1477,10 @@ main.global {
width: 100%;
}
}
+
+ #nav_menu_toggle_aside {
+ position: absolute;
+ }
}
#overlay .close,