@samitouri / QOSami-HFS / commits / f69d4f54

show: limit size of nav buttons

Massimo Melina committed Jan 6, 2025 at 11:32 UTC f69d4f54ae5f0b251d396e7d9d1aaa43e3745e59
1 file changed +3 -3
frontend/src/index.scss
+3 -3
@@ -755,14 +755,14 @@ form label+input { margin-top: .2em; }
755 .fullWidth {
756 .showing-container, .showing { width: 100%; }
757 }
758 - --nav-size: 25vh;
758 + --nav-size: 25vh; // big
759 @supports (width: min(1px,2px)) {
760 - --nav-size: min(25vh, 25vw);
760 + --nav-size: min(25vh, 25vw, 13em);
761 }
762 .nav {
763 position: absolute;
764 width: .5em; // closer to the edge
765 - font-size: var(--nav-size); // big
765 + font-size: var(--nav-size);
766 cursor: pointer;
767 opacity: .3;
768 -webkit-text-stroke: 2px black;