navbar.css: prevent overlapping of elements (#2140)

go-pro-link is overlapping the settings button
This commit is contained in:
Philip H. 2024-10-31 18:45:44 +01:00 committed by GitHub
parent 0e3c9bcc10
commit c5abb47403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,11 +329,14 @@ span.icon-text::after {
}
}
.go-pro-link {
.go-pro-link {
position: relative;
padding: 0.5rem 1rem;
transition: all 0.3s ease;
}
z-index: 1;
display: inline-block;
width: auto;
}
.go-pro-badge {
display: inline-block;
@ -350,4 +353,4 @@ span.icon-text::after {
.go-pro-link:hover .go-pro-badge {
background-color: #0056b3;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
}