Skip to content

Commit 23d2c2e

Browse files
committed
fix: remove container queries breaking the collection layout
1 parent d5617a5 commit 23d2c2e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

themes/bootstrap5/css/compiled.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.

themes/bootstrap5/scss/components/channels.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
overflow-y: auto;
5757
}
5858

59-
.tab-pane {
60-
container-type: inline-size;
61-
}
6259
.channel-list {
6360
position: relative;
6461
grid-area: channel;
@@ -70,12 +67,15 @@
7067
padding: 0;
7168
border-radius: $border-radius;
7269

73-
@container (width < 768px) {
74-
grid-template-columns: repeat(3, 1fr);
75-
}
76-
@container (width < 480px) {
70+
@media (max-width: 479px) {
7771
grid-template-columns: repeat(2, 1fr);
7872
}
73+
74+
@media (min-width: 480px) {
75+
.record-tabs & {
76+
grid-template-columns: repeat(3, 1fr);
77+
}
78+
}
7979
}
8080

8181
.channel-item {

themes/local_theme_example/css/compiled.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.

themes/sandal5/css/compiled.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.

0 commit comments

Comments
 (0)