Skip to content

Commit 0628334

Browse files
committed
feat(iOS): remove default value for --safe-area-inset-top in old iOS
1 parent 230b4dc commit 0628334

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/styles/constants.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,6 @@
6060
}
6161
}
6262

63-
/**
64-
* Проверка на iOS.
65-
*
66-
* > Не стандартное св-во. Если так и не стандартизируют, то потребуется иначе определять платформу.
67-
*
68-
* Ссылки:
69-
* - https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-touch-callout
70-
* - https://stackoverflow.com/questions/30102792/css-media-query-to-target-only-ios-devices
71-
*/
72-
@supports (-webkit-touch-callout: none) {
73-
:root {
74-
--safe-area-inset-top: 20px;
75-
}
76-
}
77-
7863
@supports (padding-top: constant(safe-area-inset-top)) {
7964
:root {
8065
--safe-area-inset-top: constant(safe-area-inset-top);

0 commit comments

Comments
 (0)