Merge pull request #59 from Spythere/development

Hotfix: too big font size for landscape viewport
This commit is contained in:
Spythere
2026-03-07 21:29:21 +01:00
committed by GitHub
2 changed files with 2 additions and 6 deletions
-4
View File
@@ -82,9 +82,5 @@ function loadStockDataFromStorage() {
@include responsive.midScreen { @include responsive.midScreen {
font-size: calc(0.7rem + 0.75vw); font-size: calc(0.7rem + 0.75vw);
} }
@include responsive.midScreenLandscape {
font-size: calc(0.75rem + 0.4vw);
}
} }
</style> </style>
+1 -1
View File
@@ -14,7 +14,7 @@ $breakpointSm: 550px;
} }
@mixin midScreenLandscape() { @mixin midScreenLandscape() {
@media only screen and (orientation: landscape) and (max-device-height: $breakpointMd) { @media only screen and (orientation: landscape) and (max-width: $breakpointMd) {
@content; @content;
} }
} }