1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 23:55:48 +02:00

fix(frontend): add "px" suffix to borderWidth of Ui:C:container (#17088)

* fix: add "px" suffix to borderWidth of Ui:C:container

* docs: update changelog
This commit is contained in:
poppingmoon
2026-01-13 15:00:46 +09:00
committed by GitHub
parent 0b383efa5a
commit c0d5c0df69
2 changed files with 2 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ const containerStyle = computed(() => {
const isBordered = c.borderWidth ?? c.borderColor ?? c.borderStyle;
const border = isBordered ? {
borderWidth: c.borderWidth ?? '1px',
borderWidth: `${c.borderWidth ?? 1}px`,
borderColor: c.borderColor ?? 'var(--MI_THEME-divider)',
borderStyle: c.borderStyle ?? 'solid',
} : undefined;