Skip to content

Commit e709ac0

Browse files
committed
Aligned first column header when details-row or hidden-columns
1 parent a622390 commit e709ac0

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

src/public/packages/backpack/base/css/blue-bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/packages/backpack/base/css/bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/assets/scss/customs/_list.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,23 @@
112112
}
113113
}
114114

115+
&[data-has-bulk-actions="0"] {
116+
&[data-has-details-row="1"],
117+
&.has-hidden-columns {
118+
thead tr th:first-child,
119+
tfoot tr th:first-child {
120+
padding-left: 1.8rem !important;
121+
}
122+
}
123+
124+
&[data-has-details-row="1"].has-hidden-columns {
125+
thead tr th:first-child,
126+
tfoot tr th:first-child {
127+
padding-left: 3rem !important;
128+
}
129+
}
130+
}
131+
115132
.details-control {
116133
display: flex;
117134
}

0 commit comments

Comments
 (0)