mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 03:58:11 +00:00
Merge pull request #59 from Spythere/development
Hotfix: too big font size for landscape viewport
This commit is contained in:
+1
-5
@@ -45,7 +45,7 @@ function handleMigrationInfo() {
|
|||||||
|
|
||||||
// Do not show if already acknowledged
|
// Do not show if already acknowledged
|
||||||
if (showInfo === 'false') return;
|
if (showInfo === 'false') return;
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
store.isMigrationInfoOpen = true;
|
store.isMigrationInfoOpen = true;
|
||||||
}, 2000);
|
}, 2000);
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user