]> OzVa Git service - ozva-cloud/commitdiff
fix: head div overlap main contents when wrap (#386)
authorsigoden <sigoden@gmail.com>
Tue, 14 May 2024 09:04:06 +0000 (17:04 +0800)
committerGitHub <noreply@github.com>
Tue, 14 May 2024 09:04:06 +0000 (17:04 +0800)
assets/index.css

index c77da01446a69072fbdcb25fff0a7d591ae1f52a..3d72a85818abf4a717403d3dced13cb30504e004 100644 (file)
@@ -6,7 +6,7 @@ html {
 
 body {
   /* prevent premature breadcrumb wrapping on mobile */
-  min-width: 500px;
+  min-width: 538px;
   margin: 0;
 }
 
@@ -19,14 +19,15 @@ body {
   flex-wrap: wrap;
   align-items: center;
   padding: 0.6em 1em;
-  position: fixed;
-  width: 100%;
+  position: sticky;
+  top: 0;
   background-color: white;
 }
 
 .breadcrumb {
   font-size: 1.25em;
   padding-right: 0.6em;
+  word-break: break-all;
 }
 
 .breadcrumb>a {
@@ -108,7 +109,7 @@ body {
 }
 
 .main {
-  padding: 3.3em 1em 0;
+  padding: 0 1em;
 }
 
 .empty-folder {