Lock phone UI to portrait with PWA and landscape gate.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -33,6 +33,39 @@ body {
|
||||
var(--bg);
|
||||
}
|
||||
|
||||
.portrait-lock-gate {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 9999;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
background: rgba(11, 14, 17, 0.96);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portrait-lock-gate.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.portrait-lock-card {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
.portrait-lock-title {
|
||||
margin: 0 0 8px;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.portrait-lock-sub {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
|
||||
Reference in New Issue
Block a user