fix: horizontal scroll error
This commit is contained in:
+15
-4
@@ -41,6 +41,7 @@ body {
|
|||||||
background-color: var(--main-bg);
|
background-color: var(--main-bg);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@@ -110,6 +111,8 @@ img {
|
|||||||
width: calc(100% - 250px);
|
width: calc(100% - 250px);
|
||||||
padding: 0 20px 20px 20px;
|
padding: 0 20px 20px 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Logo */
|
/* Logo */
|
||||||
@@ -154,6 +157,8 @@ img {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.install-pwa-button:hover {
|
.install-pwa-button:hover {
|
||||||
@@ -317,12 +322,13 @@ img {
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||||
width: calc(100vw - 250px);
|
width: 100%;
|
||||||
|
max-width: calc(100vw - 250px);
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
right: 0;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
@@ -391,6 +397,7 @@ img {
|
|||||||
.social-icons, .action-icons {
|
.social-icons, .action-icons {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
@@ -1550,10 +1557,12 @@ img {
|
|||||||
|
|
||||||
/* Ajuster le header pour le mode sidebar compact */
|
/* Ajuster le header pour le mode sidebar compact */
|
||||||
.header {
|
.header {
|
||||||
width: calc(100vw - 70px);
|
width: 100%;
|
||||||
|
max-width: calc(100vw - 70px);
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item span {
|
.nav-item span {
|
||||||
@@ -1615,10 +1624,12 @@ img {
|
|||||||
|
|
||||||
/* Ajuster le header pour l'affichage mobile */
|
/* Ajuster le header pour l'affichage mobile */
|
||||||
.header {
|
.header {
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
|
max-width: 100vw;
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
padding-left: 35px;
|
padding-left: 35px;
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-menu-toggle {
|
.mobile-menu-toggle {
|
||||||
|
|||||||
Reference in New Issue
Block a user