Polish mobile auth and garage layout
This commit is contained in:
@@ -1292,8 +1292,8 @@ select {
|
||||
|
||||
.auth-panel,
|
||||
.scan-panel {
|
||||
width: min(420px, 100%);
|
||||
padding: 20px;
|
||||
width: min(460px, 100%);
|
||||
padding: 22px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
@@ -1305,8 +1305,16 @@ select {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.auth-actions {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.telegram-login-slot {
|
||||
min-height: 46px;
|
||||
display: grid;
|
||||
min-height: 42px;
|
||||
place-items: center;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.telegram-login-link {
|
||||
@@ -1323,6 +1331,26 @@ select {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.telegram-secondary-btn {
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
background: #fff;
|
||||
color: var(--text);
|
||||
border: 1px solid var(--line);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.telegram-login-help,
|
||||
.auth-note {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.auth-note {
|
||||
margin: 12px 0 0;
|
||||
}
|
||||
|
||||
.telegram-login-link.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -1451,3 +1479,103 @@ select {
|
||||
max-height: 92vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: 100%;
|
||||
max-width: 100vw;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.summary-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.layout,
|
||||
.panel,
|
||||
.workspace {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.cars {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
overflow: visible;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.car-item {
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.car-badge {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.car-copy {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.car-copy strong,
|
||||
.car-copy small {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.passport-head {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.score-ring {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
flex-basis: 72px;
|
||||
}
|
||||
|
||||
.quick-actions {
|
||||
grid-template-columns: repeat(3, minmax(96px, 1fr));
|
||||
overflow-x: auto;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.report-records,
|
||||
.history,
|
||||
.record {
|
||||
max-width: 100%;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.auth-overlay {
|
||||
align-items: stretch;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.auth-panel {
|
||||
align-self: center;
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user