]> _ Git - fluidbook-html5.git/commitdiff
wip #7779
authorsoufiane <soufiane@cubedesigners.com>
Tue, 23 Dec 2025 11:41:10 +0000 (12:41 +0100)
committersoufiane <soufiane@cubedesigners.com>
Tue, 23 Dec 2025 11:41:10 +0000 (12:41 +0100)
style/accessibility.less
style/variables.less

index 4e00dd332d98899990b85c31e8ac74bf4f6ff9cd..893377cf31ee54c3bd14b9bd630a3f590e58df17 100644 (file)
     transform: translateX(-50%) !important;
   }
 
-  @media @smartphone {
+  @media @fullscreen {
     width: 100% !important;
+    max-width: 100% !important;
     max-height: 100% !important;
     top: 0 !important;
   }
 
   .caption {
     background-color: #fff;
+    position: absolute;
 
     a.back, a.back:hover, a.back:focus {
       background-color: #000;
     padding: 65px;
 
     @media @small {
-      padding: 15px;
+      padding: 60px 15px 15px;
     }
 
-    @media @smartphone {
-      max-height: calc(100vh - 40px) !important;
+    @media @fullscreen {
+      max-height: 100vh !important;
     }
 
     &::-webkit-scrollbar-track {
index 1d34577902c1398bba954fb21b0a45edf8d366fe..26d13c1b23ffad67ed4c6e5abf30fcc1fb263902 100644 (file)
@@ -1,6 +1,6 @@
 @import "book-variables";
 
-@smartphone: ~"screen and (max-width: 334px)";
 @small: ~"screen and (max-width: 640px)";
 @medium: ~"screen and (max-width: 800px)";
-@large: ~"screen and (min-width: 1280px)";
\ No newline at end of file
+@fullscreen: ~"screen and (max-width: 1023px)";
+@large: ~"screen and (min-width: 1280px)";