]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix for issue #963. (#1357)
authormdavid88 <mdavid88@users.noreply.github.com>
Sun, 22 Oct 2017 22:28:41 +0000 (19:28 -0300)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 22 Oct 2017 22:28:41 +0000 (23:28 +0100)
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.

sass/utilities/mixins.sass

index f4db5fa20072bbc5749910c9f99d372dc8623fbb..f9ae0acfe83f204c153d8d478c2ced5ae87e71fe 100644 (file)
@@ -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