Skip to content

Commit d08f985

Browse files
author
Julien Droulez
committed
fix: site header and homepage responsive threshold
1 parent a0021f8 commit d08f985

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/app/LpiHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ a:visited {
740740
color: $white;
741741
}
742742
743-
@media (min-width: pxToRem(1120px)) {
743+
@media (min-width: pxToRem(1200px)) {
744744
.header {
745745
position: fixed;
746746

src/pages/NewHomePage/NewHomePage.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ try {
9393
position: relative; // higher than home category dropdown and buttons and suggestions
9494
z-index: 10;
9595
96-
@media (min-width: $min-tablet) {
96+
@media (min-width: $min-desktop) {
9797
padding-left: $space-2xl;
9898
padding-right: $space-2xl;
9999
}
@@ -115,7 +115,7 @@ try {
115115
flex-direction: column;
116116
gap: $space-2xl;
117117
118-
@media (min-width: $min-tablet) {
118+
@media (min-width: $min-desktop) {
119119
flex-direction: row;
120120
align-items: flex-start;
121121
}
@@ -124,7 +124,7 @@ try {
124124
.projects-and-people {
125125
margin-bottom: $space-xl;
126126
127-
@media (min-width: $min-tablet) {
127+
@media (min-width: $min-desktop) {
128128
flex-basis: 35%;
129129
margin-bottom: 0;
130130
flex-shrink: 0;
@@ -148,7 +148,7 @@ try {
148148
align-items: center;
149149
width: 100%;
150150
151-
@media (min-width: $min-tablet) {
151+
@media (min-width: $min-desktop) {
152152
margin-top: $space-l;
153153
}
154154
@@ -169,7 +169,7 @@ try {
169169
.all-news {
170170
height: fit-content;
171171
172-
@media (min-width: $min-tablet) {
172+
@media (min-width: $min-desktop) {
173173
flex-basis: 65%;
174174
}
175175

0 commit comments

Comments
 (0)