mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-09 17:54:32 +00:00
Fix chat navigator font size (#6947)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
a10f8cf1a2
commit
9eb914f598
@ -44,7 +44,6 @@
|
|||||||
export let disabled: boolean = false
|
export let disabled: boolean = false
|
||||||
export let isFold: boolean = false
|
export let isFold: boolean = false
|
||||||
export let isOpen: boolean = false
|
export let isOpen: boolean = false
|
||||||
export let isSecondary: boolean = false
|
|
||||||
export let withBackground: boolean = false
|
export let withBackground: boolean = false
|
||||||
export let showMenu: boolean = false
|
export let showMenu: boolean = false
|
||||||
export let shouldTooltip: boolean = false
|
export let shouldTooltip: boolean = false
|
||||||
@ -78,7 +77,7 @@
|
|||||||
|
|
||||||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
||||||
<button
|
<button
|
||||||
class="hulyNavItem-container line-height-auto {type} {type === 'type-anchor-link' || isSecondary
|
class="hulyNavItem-container line-height-auto {type} {type === 'type-anchor-link'
|
||||||
? 'font-regular-12'
|
? 'font-regular-12'
|
||||||
: 'font-regular-14'}"
|
: 'font-regular-14'}"
|
||||||
class:selected
|
class:selected
|
||||||
|
@ -123,7 +123,6 @@
|
|||||||
_id={item.id}
|
_id={item.id}
|
||||||
icon={item.icon}
|
icon={item.icon}
|
||||||
withIconBackground={item.withIconBackground}
|
withIconBackground={item.withIconBackground}
|
||||||
isSecondary={item.isSecondary}
|
|
||||||
iconSize={item.iconSize}
|
iconSize={item.iconSize}
|
||||||
{isSelected}
|
{isSelected}
|
||||||
iconProps={{ ...item.iconProps, value: item.object }}
|
iconProps={{ ...item.iconProps, value: item.object }}
|
||||||
|
@ -91,8 +91,7 @@
|
|||||||
icon: icon ?? getObjectIcon(_class),
|
icon: icon ?? getObjectIcon(_class),
|
||||||
iconProps: { showStatus: true },
|
iconProps: { showStatus: true },
|
||||||
iconSize,
|
iconSize,
|
||||||
withIconBackground: !isDirect && !isPerson,
|
withIconBackground: !isDirect && !isPerson
|
||||||
isSecondary: isDocChat && !isPerson
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@
|
|||||||
{title}
|
{title}
|
||||||
{description}
|
{description}
|
||||||
selected={isSelected}
|
selected={isSelected}
|
||||||
{isSecondary}
|
|
||||||
count={elementsCount > 0 ? elementsCount : null}
|
count={elementsCount > 0 ? elementsCount : null}
|
||||||
{type}
|
{type}
|
||||||
withBackground={withIconBackground}
|
withBackground={withIconBackground}
|
||||||
|
@ -46,7 +46,6 @@ export interface ChatNavItemModel {
|
|||||||
icon: Asset | AnySvelteComponent | undefined
|
icon: Asset | AnySvelteComponent | undefined
|
||||||
iconSize?: IconSize
|
iconSize?: IconSize
|
||||||
iconProps: Record<string, any>
|
iconProps: Record<string, any>
|
||||||
isSecondary: boolean
|
|
||||||
withIconBackground: boolean
|
withIconBackground: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user