mirror of
https://github.com/we-promise/sure.git
synced 2026-04-25 06:54:07 +00:00
Mobile layout fixes (#2179)
* Consolidate safe area padding * Fix chat overflow on mobile
This commit is contained in:
@@ -165,16 +165,4 @@
|
||||
&::-webkit-scrollbar-thumb:hover {
|
||||
background: #a6a6a6;
|
||||
}
|
||||
}
|
||||
|
||||
.mt-safe {
|
||||
margin-top: env(safe-area-inset-top);
|
||||
}
|
||||
|
||||
.pt-safe {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
}
|
||||
|
||||
.pb-safe {
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
@@ -257,6 +257,11 @@
|
||||
--shadow-xl: 0px 20px 24px -4px --alpha(var(--color-white) / 8%);
|
||||
}
|
||||
|
||||
html {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
button {
|
||||
@apply cursor-pointer focus-visible:outline-gray-900;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user