Merge branch 'headerTabSize' into 'develop'

fix(client): initialize header tab sizing with webfont

Co-authored-by: Eana Hufwe <eana@1a23.com>

Closes #10943

See merge request firefish/firefish!11154
This commit is contained in:
naskya 2024-07-15 23:28:45 +00:00
commit bc7ca8bc04

View file

@ -264,7 +264,8 @@ onMounted(() => {
watch(
() => [props.tab, props.tabs],
() => {
nextTick(() => {
nextTick(async () => {
await document.fonts.ready;
if (props.tab == null) return;
if (!isTabs(props.tabs)) return;
const tabEl = tabRefs[props.tab];