From 7ab44dea4c0824970b7776be72891bbd4244a848 Mon Sep 17 00:00:00 2001 From: smallstonesk <575913857@qq.com> Date: Wed, 26 Aug 2020 10:15:39 +0800 Subject: [PATCH] feat: optimize toolbar's style --- packages/core/src/mods/toolBar/index.module.less | 1 + packages/core/src/mods/toolBar/widgets/index.module.less | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/core/src/mods/toolBar/index.module.less b/packages/core/src/mods/toolBar/index.module.less index 364d3eb..1c45ff7 100644 --- a/packages/core/src/mods/toolBar/index.module.less +++ b/packages/core/src/mods/toolBar/index.module.less @@ -12,6 +12,7 @@ display: flex; flex-direction: row; align-items: center; + padding: 0 4px; height: 43px; border-right: 1px solid #D9D9D9; } diff --git a/packages/core/src/mods/toolBar/widgets/index.module.less b/packages/core/src/mods/toolBar/widgets/index.module.less index d2c3171..9494d8c 100644 --- a/packages/core/src/mods/toolBar/widgets/index.module.less +++ b/packages/core/src/mods/toolBar/widgets/index.module.less @@ -4,7 +4,6 @@ display: flex; justify-content: center; align-items: center; - margin-left: 4px; padding: 0 8px; min-width: 34px; height: 34px; @@ -17,10 +16,6 @@ font-size: 10px; } - &:last-child { - margin-right: 4px; - } - &:hover { cursor: pointer; border: 0.5px solid #CCC; @@ -50,7 +45,6 @@ align-items: center; .zoomText { - margin-left: 4px; width: 45px; text-align: center; }