mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
fix(docs): show version selection dropdown on mobile (#15894)
change-className-and-add-css-to-show-versions-on-mobile
This commit is contained in:
parent
252d3f5f2c
commit
c4531fc4d3
@ -44,7 +44,7 @@ export default function VersionSwitcher(): JSX.Element {
|
|||||||
return (
|
return (
|
||||||
versions.length > 0 && (
|
versions.length > 0 && (
|
||||||
<DropdownNavbarItem
|
<DropdownNavbarItem
|
||||||
className="navbar__item"
|
className="version-switcher-34ab39"
|
||||||
label={label}
|
label={label}
|
||||||
mobile={windowSize === 'mobile'}
|
mobile={windowSize === 'mobile'}
|
||||||
items={versions.map(({ label, url }) => ({
|
items={versions.map(({ label, url }) => ({
|
||||||
|
@ -75,6 +75,11 @@ div[class^='announcementBar_'] {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* workaround for version switcher PR 15894 */
|
||||||
|
div[class*='navbar__items'] > li:has(a[class*='version-switcher-34ab39']) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user