9.515
redigeringer
No edit summary Tag: Tilbagerullet |
mNo edit summary Tag: Tilbagerullet |
||
Linje 139: | Linje 139: | ||
/* Default styles for the map */ | /* Default styles for the map */ | ||
div[class^=" | div[class^="tright"] { | ||
float: right; /* Float the map to the right on larger screens */ | float: right; /* Float the map to the right on larger screens */ | ||
margin-top: 10px; /* Add some top margin to create spacing before the map */ | margin-top: 10px; /* Add some top margin to create spacing before the map */ | ||
Linje 146: | Linje 146: | ||
/* Styles for the map on mobile devices (max-width: 1024px) */ | /* Styles for the map on mobile devices (max-width: 1024px) */ | ||
@media (max-width: 1024px) { | @media (max-width: 1024px) { | ||
div[class^=" | div[class^="tright"] { | ||
float: none; /* Remove the float | float: none; /* Remove the float */ | ||
margin: 10px auto; /* Center the map horizontally with top and bottom margin */ | margin: 10px auto; /* Center the map horizontally with top and bottom margin */ | ||
display: flex; | |||
justify-content: center; | |||
} | } | ||
} | } |