From 5ac10730aef3bf95a7687c389f1421e33f973865 Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Wed, 1 Nov 2023 23:00:55 +0300 Subject: [PATCH] upd: replace more hardcoded radius values --- packages/frontend/src/components/MkCode.core.vue | 2 +- packages/frontend/src/components/MkCodeEditor.vue | 2 +- packages/frontend/src/components/MkUserOnlineIndicator.vue | 5 ++++- packages/frontend/src/pages/drive.file.info.vue | 2 +- packages/frontend/src/pages/settings/profile.vue | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index 4ec3540419..21684b462a 100644 --- a/packages/frontend/src/components/MkCode.core.vue +++ b/packages/frontend/src/components/MkCode.core.vue @@ -77,7 +77,7 @@ watch(() => props.lang, (to) => { & :deep(.shiki) { padding: 12px; margin: 0; - border-radius: 6px; + border-radius: var(--radius-sm); min-height: 130px; pointer-events: none; min-width: calc(100% - 24px); diff --git a/packages/frontend/src/components/MkCodeEditor.vue b/packages/frontend/src/components/MkCodeEditor.vue index 2d56a61963..5434042684 100644 --- a/packages/frontend/src/components/MkCodeEditor.vue +++ b/packages/frontend/src/components/MkCodeEditor.vue @@ -129,7 +129,7 @@ watch(v, () => { .focused.codeEditorRoot { border-color: var(--accent) !important; - border-radius: 6px; + border-radius: var(--radius-sm); } .codeEditorScroller { diff --git a/packages/frontend/src/components/MkUserOnlineIndicator.vue b/packages/frontend/src/components/MkUserOnlineIndicator.vue index 8b792fe496..ac50d73cda 100644 --- a/packages/frontend/src/components/MkUserOnlineIndicator.vue +++ b/packages/frontend/src/components/MkUserOnlineIndicator.vue @@ -37,7 +37,10 @@ const text = $computed(() => {