Skip to content

Commit e3f9270

Browse files
committed
Headers: Fix header responsivness
1 parent 03b9f07 commit e3f9270

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

assets/css/v2/style.css

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ textarea:not([rows]) {
243243

244244
/* @link https://utopia.fyi/grid/calculator?c=320,16,1.2,1240,18,1.25,5,3,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
245245
--grid-max-width: 69.75rem;
246+
--grid-min-width: 34rem;
246247
--grid-gutter: var(--space-s-l, clamp(1rem, 0.4975rem + 2.5126vw, 2.25rem));
247248
--grid-columns: 12;
248249

@@ -343,6 +344,7 @@ ol li:last-child {
343344
"sidebar content"
344345
"sidebar footer";
345346
min-height: 100vh;
347+
min-width: var(--grid-min-width);
346348

347349
@media (max-width: 68rem) {
348350
grid-template-columns: 1fr;
@@ -403,7 +405,6 @@ ol li:last-child {
403405
.header-container {
404406
display: flex;
405407
flex-direction: row;
406-
flex-wrap: wrap;
407408
justify-content: space-between;
408409
align-items: center;
409410
width: 100%;
@@ -441,26 +442,6 @@ ol li:last-child {
441442
> ul {
442443
padding: 0;
443444
}
444-
445-
@media (max-width: 700px) {
446-
a,
447-
ul {
448-
width: calc(50% - 1rem);
449-
}
450-
451-
li {
452-
float: right;
453-
}
454-
455-
div {
456-
order: 3;
457-
width: 100%;
458-
459-
#search-standalone-header {
460-
margin-top: 1rem;
461-
}
462-
}
463-
}
464445
}
465446

466447
.dropdown-content {

0 commit comments

Comments
 (0)