mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Apply admin table classes for consistent mobile styling on the API keys page (#29630)
* UX: Apply admin table classes for consistent mobile styling on the API keys page * apply prettier
This commit is contained in:
@@ -48,43 +48,16 @@ table.web-hooks.grid {
|
||||
table.api-keys {
|
||||
margin-bottom: 0.25em;
|
||||
|
||||
.key-controls {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
tr.revoked {
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
|
||||
@include breakpoint(tablet) {
|
||||
tr {
|
||||
grid-template-columns: 0.25fr 1fr 1fr;
|
||||
}
|
||||
td.key {
|
||||
grid-row: 1;
|
||||
grid-column-start: 1;
|
||||
grid-column-end: 1;
|
||||
max-width: 100%;
|
||||
}
|
||||
td.key-description {
|
||||
grid-row: 1;
|
||||
grid-column-start: 2;
|
||||
grid-column-end: -1;
|
||||
max-width: 100%;
|
||||
}
|
||||
td.key-user {
|
||||
grid-row: 2;
|
||||
grid-column-start: 1;
|
||||
}
|
||||
td.key-controls {
|
||||
grid-row: 2;
|
||||
grid-column-end: -1;
|
||||
grid-column-start: 2;
|
||||
text-align: right;
|
||||
.btn {
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
}
|
||||
.d-admin-row__overview.key {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.d-admin-row__content td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user