summaryrefslogtreecommitdiffstats
path: root/src/css/dashboard.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:18 +0000
commit55a5d29a66503248916f249ad2a1d8b37cde5a03 (patch)
treea3beb6a90dd3bdaaf67ecb05d42152a494aff946 /src/css/dashboard.css
parentAdding upstream version 1.55.0+dfsg. (diff)
downloadublock-origin-upstream/1.57.0+dfsg.tar.xz
ublock-origin-upstream/1.57.0+dfsg.zip
Adding upstream version 1.57.0+dfsg.upstream/1.57.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/css/dashboard.css')
-rw-r--r--src/css/dashboard.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/css/dashboard.css b/src/css/dashboard.css
index ba02d97..b75949e 100644
--- a/src/css/dashboard.css
+++ b/src/css/dashboard.css
@@ -2,6 +2,7 @@ html, body {
display: flex;
flex-direction: column;
height: 100vh;
+ height: 100svh;
justify-content: stretch;
overflow: hidden;
position: relative;
@@ -11,11 +12,12 @@ body.notReady {
display: none;
}
#dashboard-nav {
+ align-items: center;
border: 0;
border-bottom: 1px solid var(--border-1);
display: flex;
flex-shrink: 0;
- flex-wrap: wrap;
+ justify-content: space-between;
overflow-x: hidden;
padding: 0;
position: sticky;
@@ -23,6 +25,10 @@ body.notReady {
width: 100%;
z-index: 10;
}
+#dashboard-nav > span {
+ display: flex;
+ flex-wrap: wrap;
+ }
.tabButton {
background-color: transparent;
border: 0;
@@ -75,6 +81,7 @@ iframe {
}
#unsavedWarning > div:last-of-type {
height: 100vh;
+ height: 100svh;
position: absolute;
width: 100vw;
}
@@ -105,8 +112,7 @@ body.noDashboard #dashboard-nav {
border-bottom-color: var(--dashboard-tab-hover-border);
}
-/* touch-screen devices */
-:root.mobile #dashboard-nav {
+:root.mobile #dashboard-nav > span {
flex-wrap: nowrap;
overflow-x: auto;
}