From 1d3dcb85462cb7b7586e24db91960c16ff7dbcc7 Mon Sep 17 00:00:00 2001 From: yuyang Date: Mon, 27 Jun 2022 12:37:42 +0800 Subject: [PATCH] fix: setting radio height (#193) --- src/layouts/setting.vue | 5 ++++- src/style/layout.less | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/layouts/setting.vue b/src/layouts/setting.vue index c5b7a7f..885cb1b 100644 --- a/src/layouts/setting.vue +++ b/src/layouts/setting.vue @@ -291,11 +291,14 @@ watchEffect(() => { :deep(.t-radio-group.t-size-m) { min-height: 32px; width: 100%; - height: auto; justify-content: space-between; align-items: center; } + :deep(.t-radio-group.t-size-m .t-radio-button) { + height: auto; + } + .setting-layout-drawer { display: flex; flex-direction: column; diff --git a/src/style/layout.less b/src/style/layout.less index c22bf9a..e2d349b 100644 --- a/src/style/layout.less +++ b/src/style/layout.less @@ -13,7 +13,7 @@ .t-jumper-jumper { .t-button + .t-button { - margin-left: 0 + margin-left: 0; } } .tdesign-starter-link { @@ -21,16 +21,16 @@ text-decoration: none; margin-right: 24px; cursor: pointer; - transition: color .2s cubic-bezier(.38,0,.24,1); + transition: color 0.2s cubic-bezier(0.38, 0, 0.24, 1); } -.left-operation-container,.operation-container { +.left-operation-container, +.operation-container { .t-button + .t-button { margin-left: var(--tdvns-spacer); } } - .t-layout.t-layout--with-sider { > .t-layout { flex: 1; @@ -199,3 +199,4 @@ .t-menu__popup { z-index: 1000; } +