Browse Source
🐛 Hide sponsor badge when sponsor image is not displayed (#14096)
pull/14098/head
Alejandra
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
docs/en/docs/css/custom.css
|
@ -124,6 +124,11 @@ a.announce-link:hover { |
|
|
border-radius: 20px; |
|
|
border-radius: 20px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Hide .sponsor-badge when .sponsor-image is display none */ |
|
|
|
|
|
.announce-wrapper a:has(.sponsor-image[style*="display: none"]) .sponsor-badge { |
|
|
|
|
|
display: none; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.announce-wrapper>div { |
|
|
.announce-wrapper>div { |
|
|
min-height: 40px; |
|
|
min-height: 40px; |
|
|
display: flex; |
|
|
display: flex; |
|
|