fix(ui): unify btn line-height for a and button elements
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; }
|
||||
|
||||
/* 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; }
|
||||
.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:hover { background: var(--bg); text-decoration: none; }
|
||||
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
|
||||
.btn-primary:hover { background: var(--primary-hover); }
|
||||
|
||||
Reference in New Issue
Block a user