Browse Source

Fix for issue #963. (#1357)

iOS <button> element's minimum width is dependant on its font-size, so the .delete width wasn't able to be as small as it's height, resulting in one arm of the X being longer than the other. font-size: 0 does the trick.
mdavid88 7 năm trước cách đây
mục cha
commit
7e0019ae44
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sass/utilities/mixins.sass

+ 1 - 1
sass/utilities/mixins.sass

@@ -42,7 +42,7 @@
   display: inline-block
   flex-grow: 0
   flex-shrink: 0
-  font-size: $size-normal
+  font-size: 0
   height: 20px
   max-height: 20px
   max-width: 20px