Skip to content

Commit efff210

Browse files
committed
Add bottom margin for iPhone X
1 parent 1cc77ef commit efff210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

widget/assets/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@
339339
width: 100%;
340340
height: 43px;
341341
z-index: 11;
342+
margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
343+
margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
342344
}
343345

344346
.holder.bottom-post hr {

0 commit comments

Comments
 (0)