mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
feat(header): correctly gray out disabled menu links
This commit is contained in:
@@ -158,14 +158,16 @@ export const MenuItem = styled(Link)`
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
&[href="/"] {
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
&[href="/"] ${MenuItemLine} {
|
||||
&.disabled ${MenuItemLine} {
|
||||
bottom: 50%;
|
||||
background: #fff !important;
|
||||
}
|
||||
|
||||
&.active {
|
||||
|
||||
Reference in New Issue
Block a user