mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-25 14:26:39 +00:00
reset nav logo size
This commit is contained in:
@@ -20,11 +20,11 @@ export function LayoutHeader({ showTopBar }: LayoutHeaderProps) {
|
|||||||
const { isUnlocked } = useLicenseStatusContext();
|
const { isUnlocked } = useLicenseStatusContext();
|
||||||
|
|
||||||
const logoWidth = isUnlocked()
|
const logoWidth = isUnlocked()
|
||||||
? env.branding.logo?.navbar?.width || 118
|
? env.branding.logo?.navbar?.width || 98
|
||||||
: 118;
|
: 98;
|
||||||
const logoHeight = isUnlocked()
|
const logoHeight = isUnlocked()
|
||||||
? env.branding.logo?.navbar?.height || 29.5
|
? env.branding.logo?.navbar?.height || 32
|
||||||
: 29.5;
|
: 32;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
function getPath() {
|
function getPath() {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export function OrgSelector({ orgId, orgs, isCollapsed = false }: OrgSelectorPro
|
|||||||
<Popover open={open} onOpenChange={setOpen}>
|
<Popover open={open} onOpenChange={setOpen}>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="secondary"
|
||||||
size={isCollapsed ? "icon" : "lg"}
|
size={isCollapsed ? "icon" : "lg"}
|
||||||
role="combobox"
|
role="combobox"
|
||||||
aria-expanded={open}
|
aria-expanded={open}
|
||||||
|
|||||||
Reference in New Issue
Block a user