Skip to content

A platform for community discussion. Free, open, simple.

UX: Make cells middle aligned; apply overview class directly to td elements (#29813)

Ella E.79ffbe7cd576
diff --git a/app/assets/stylesheets/common/admin/admin_table.scss b/app/assets/stylesheets/common/admin/admin_table.scss
index aee13737184..1d18d2c1a37 100644
--- a/app/assets/stylesheets/common/admin/admin_table.scss
+++ b/app/assets/stylesheets/common/admin/admin_table.scss
@@ -26,7 +26,7 @@
}
td {
- vertical-align: top;
+ vertical-align: middle;
padding-top: var(--space-3);
padding-bottom: var(--space-3);
@@ -41,6 +41,15 @@
}
}
+ &.d-admin-row__overview {
+ width: 55%;
+
+ @include breakpoint("tablet") {
+ width: auto;
+ border-top: 0;
+ }
+ }
+
&.d-admin-row__detail {
@include breakpoint("tablet") {
display: flex;
@@ -62,13 +71,6 @@
}
.d-admin-row__overview {
- width: 55%;
-
- @include breakpoint("tablet") {
- width: auto;
- border-top: 0;
- }
-
&-name {
font-weight: 700;
max-width: 80%;