mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #22599 from overleaf/td-ds-nav-chevron
Hide nav dropdown chevron icon in welcome page GitOrigin-RevId: df631c2ea13da79be8496b8cfa425e9340894af3
This commit is contained in:
@@ -31,7 +31,9 @@ export default function NavDropdownMenu({
|
||||
>
|
||||
<Dropdown.Toggle role="menuitem">
|
||||
{title}
|
||||
{isDsNav && <Caret weight="bold" className="ms-2" />}
|
||||
{isDsNav && (
|
||||
<Caret weight="bold" className="ms-2 navbar-dropdown-caret" />
|
||||
)}
|
||||
</Dropdown.Toggle>
|
||||
<Dropdown.Menu as="ul" role="menu" align="end">
|
||||
{children}
|
||||
|
||||
@@ -310,4 +310,9 @@
|
||||
@include body-xs;
|
||||
}
|
||||
}
|
||||
|
||||
// Only show the dropdown caret icon in the DS nav version of the project dashboard
|
||||
.navbar-dropdown-caret {
|
||||
display: unset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -775,3 +775,8 @@ form.project-search {
|
||||
inset: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Hide expander caret icon by default so that it only ever appears in the DS nav version of the project dashboard
|
||||
.navbar-dropdown-caret {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user