summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpoppingmoon <63451158+poppingmoon@users.noreply.github.com>2026-01-13 15:00:46 +0900
committerGitHub <noreply@github.com>2026-01-13 15:00:46 +0900
commitc0d5c0df696bc1b4e049be230801f9fbb411787d (patch)
tree1334e20717df476a48eed13fab0d0dd094052277
parentRefactor FileServerService: Extract file handling logic into dedicated handle... (diff)
downloadmisskey-c0d5c0df696bc1b4e049be230801f9fbb411787d.tar.gz
misskey-c0d5c0df696bc1b4e049be230801f9fbb411787d.tar.bz2
misskey-c0d5c0df696bc1b4e049be230801f9fbb411787d.zip
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
-rw-r--r--CHANGELOG.md1
-rw-r--r--packages/frontend/src/components/MkAsUi.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8cd333372a..a51ec574ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
- Fix: 管理画面でアーカイブ済のお知らせを表示した際にアクティブなお知らせが多い旨の警告が出る問題を修正
- Fix: ファイルタブのセンシティブメディアを開く際に確認ダイアログを出す設定が適用されない問題を修正
- Fix: 2月29日を誕生日に設定している場合、閏年以外は3月1日を誕生日として扱うように修正
+- Fix: `Mk:C:container` の `borderWidth` が正しく反映されない問題を修正
### Server
- Enhance: OAuthのクライアント情報取得(Client Information Discovery)において、IndieWeb Living Standard 11 July 2024で定義されているJSONドキュメント形式に対応しました
diff --git a/packages/frontend/src/components/MkAsUi.vue b/packages/frontend/src/components/MkAsUi.vue
index d44e7724b3..c66e9d176a 100644
--- a/packages/frontend/src/components/MkAsUi.vue
+++ b/packages/frontend/src/components/MkAsUi.vue
@@ -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;