fix: IE compatibility

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

View File

@@ -44,13 +44,23 @@ a:active {
right:0px;
}
.menu {
.menu {
display: flex;
gap: 10px;
font-weight: bold;
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 {
background: url(../images/bg.gif) repeat 0 0;
color: white;