mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
responsive font size
This commit is contained in:
@@ -35,5 +35,13 @@ export default defineComponent({
|
||||
color: $textColor;
|
||||
font-size: 1em;
|
||||
padding: 1em 0.5em;
|
||||
|
||||
@media screen and (max-width: $breakpointMd) {
|
||||
font-size: calc(0.7rem + 0.75vw);
|
||||
}
|
||||
|
||||
@media screen and (orientation: landscape) and (max-width: $breakpointMd) {
|
||||
font-size: calc(0.75rem + 0.4vw);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user