Browse Source

fix: 优化按钮组布局

Administrator 2 years ago
parent
commit
7722624335
2 changed files with 2 additions and 1 deletions
  1. 0 1
      src/App.vue
  2. 2 0
      src/views/main/components/ButtonGroup.vue

+ 0 - 1
src/App.vue

@@ -12,7 +12,6 @@ export default {
 
 <style lang="less">
 html,body,[id$="-layout"] {
-  font-size: 50px;
   margin: 0;
   padding: 0;
 }

+ 2 - 0
src/views/main/components/ButtonGroup.vue

@@ -44,6 +44,8 @@ export default {
 
 <style scoped lang='less'>
 .button-group {
+  display: flex;
+  align-items: center;
   .custom-button {
     margin-right: 5px;
   }