Sfoglia il codice sorgente

Message: make the text vertically center

IncredibLink 8 anni fa
parent
commit
621c4b445a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      packages/theme-default/src/message.css

+ 2 - 0
packages/theme-default/src/message.css

@@ -22,6 +22,8 @@
       position: relative;
       height: 20px;
       line-height: 20px;
+      display: flex;
+      align-items: center;
 
       @when with-icon {
         margin-left: 0;