Browse Source

feat: optimize toolbar's style

master
smallstonesk 4 years ago
parent
commit
7ab44dea4c
  1. 1
      packages/core/src/mods/toolBar/index.module.less
  2. 6
      packages/core/src/mods/toolBar/widgets/index.module.less

1
packages/core/src/mods/toolBar/index.module.less

@ -12,6 +12,7 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
padding: 0 4px;
height: 43px; height: 43px;
border-right: 1px solid #D9D9D9; border-right: 1px solid #D9D9D9;
} }

6
packages/core/src/mods/toolBar/widgets/index.module.less

@ -4,7 +4,6 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 4px;
padding: 0 8px; padding: 0 8px;
min-width: 34px; min-width: 34px;
height: 34px; height: 34px;
@ -17,10 +16,6 @@
font-size: 10px; font-size: 10px;
} }
&:last-child {
margin-right: 4px;
}
&:hover { &:hover {
cursor: pointer; cursor: pointer;
border: 0.5px solid #CCC; border: 0.5px solid #CCC;
@ -50,7 +45,6 @@
align-items: center; align-items: center;
.zoomText { .zoomText {
margin-left: 4px;
width: 45px; width: 45px;
text-align: center; text-align: center;
} }

Loading…
Cancel
Save