fix(ui): explicitly set text color on .btn to prevent white text on mobile
This commit is contained in:
@@ -59,7 +59,7 @@ input[type="text"] + label, input[type="password"] + label, input[type="datetime
|
|||||||
.nickname-edit input[type="text"] { width: 140px; flex: none; }
|
.nickname-edit input[type="text"] { width: 140px; flex: none; }
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; font-size: .9rem; text-align: center; white-space: nowrap; text-decoration: none; line-height: 1; }
|
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); cursor: pointer; font-size: .9rem; text-align: center; white-space: nowrap; text-decoration: none; line-height: 1; }
|
||||||
.btn:hover { background: var(--bg); text-decoration: none; }
|
.btn:hover { background: var(--bg); text-decoration: none; }
|
||||||
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
|
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
|
||||||
.btn-primary:hover { background: var(--primary-hover); }
|
.btn-primary:hover { background: var(--primary-hover); }
|
||||||
@@ -146,6 +146,4 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si
|
|||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.detail-grid { grid-template-columns: 1fr; }
|
.detail-grid { grid-template-columns: 1fr; }
|
||||||
.card-grid { grid-template-columns: 1fr; }
|
.card-grid { grid-template-columns: 1fr; }
|
||||||
.upload-form { flex-direction: column; align-items: stretch; }
|
|
||||||
.upload-form input[type="file"] { max-width: none; }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user