Skip to content

Commit 5f6dc01

Browse files
committed
Fix section title scaling relative to search.
(#1083)
1 parent d0aba57 commit 5f6dc01

3 files changed

Lines changed: 26 additions & 4 deletions

File tree

admin/themes/default/css/sass/base/_layout.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,20 @@ hr {
126126
}
127127

128128
.section-title {
129-
width: 50%;
130-
129+
width: 70%;
130+
padding-right: $spacing-l;
131+
132+
@include screen-md {
133+
width: 60%;
134+
}
135+
136+
@include screen-sm {
137+
width: 50%;
138+
}
139+
131140
@include screen-xs {
132-
width: 100%;
141+
width: 100%;
142+
padding-right: 0;
133143
margin-top: 80px;
134144
}
135145
}

admin/themes/default/css/style.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,23 @@ hr {
271271
}
272272

273273
.section-title {
274-
width: 50%;
274+
width: 70%;
275+
padding-right: 20px;
276+
}
277+
@media (min-width: 992px) and (max-width: 1199px) {
278+
.section-title {
279+
width: 60%;
280+
}
281+
}
282+
@media (min-width: 768px) and (max-width: 991px) {
283+
.section-title {
284+
width: 50%;
285+
}
275286
}
276287
@media (max-width: 767px) {
277288
.section-title {
278289
width: 100%;
290+
padding-right: 0;
279291
margin-top: 80px;
280292
}
281293
}

0 commit comments

Comments
 (0)