Просмотр исходного кода

Fix label alignement on Safari

Safari infer different values for the `vertical-align` property of
`inline-block` element. See this answer for more details:

  http://stackoverflow.com/a/4828136/1652064

Fixes #177
Maxime Quandalle 9 лет назад
Родитель
Сommit
2cd0402e72
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      client/components/cards/labels.styl

+ 2 - 0
client/components/cards/labels.styl

@@ -8,11 +8,13 @@
   font-weight: 700
   font-weight: 700
   font-size: 13px
   font-size: 13px
   margin-right: 4px
   margin-right: 4px
+  margin-bottom: 5px
   padding: 3px 8px
   padding: 3px 8px
   max-width: 100%
   max-width: 100%
   min-width: 8px
   min-width: 8px
   overflow: ellipsis
   overflow: ellipsis
   height: 18px
   height: 18px
+  vertical-align: bottom
 
 
   &:hover
   &:hover
     color: white
     color: white