fix: IE compatibility

This commit is contained in:
2024-04-22 14:19:35 +02:00
parent 027f246110
commit cff24f6856

View File

@@ -46,11 +46,21 @@ a:active {
.menu { .menu {
display: flex; display: flex;
gap: 10px;
font-weight: bold; font-weight: bold;
margin-top: 6.4%; margin-top: 6.4%;
} }
/* Add spacing between child elements using margins */
/* Doing this hack to ensure IE compatibility */
.menu > * {
margin-right: 10px; /* Adjust the value as needed */
}
/* Remove margin from the last child to prevent extra spacing */
.menu > :last-child {
margin-right: 0;
}
body { body {
background: url(../images/bg.gif) repeat 0 0; background: url(../images/bg.gif) repeat 0 0;
color: white; color: white;