Skip to content

Commit e0578b0

Browse files
authored
Limit the backend search-container width for Contao 5.5
1 parent 64d7dae commit e0578b0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

assets/limited-width.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ body {
2020
max-width: 1440px;
2121
margin: 0 auto;
2222
}
23+
24+
@media (min-width: 992px) {
25+
.backend-search:not(.search--hidden) .backend-search_inner {
26+
width: min(calc(100% - 235px), 1220px);
27+
}
28+
}

public/limited-width.min.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)