Vertical alignment with length not working on iOS 8
Apparently vertical-align
with length or percentage has stopped working since iOS 8 (current latest version is 8.0.2). Interestingly, it still works on <= iPhone 5, but is broken on newer devices.
Isolated fiddle: http://jsfiddle.net/6m401xwg/embedded/result/
Is this a known issue? Any workarounds without resorting to other CSS properties?
+3
source to share
1 answer
Found a solution to this error: make the element with vertical orientation display: inline-block
. This doesn't work for items display: inline
.
See the updated fiddle: http://jsfiddle.net/6m401xwg/2/embedded/result/
+5
source to share