fix: adjust sidecolumn width before disappearing for small screens
This commit is contained in:
parent
8dece96840
commit
24422ed1da
1 changed files with 3 additions and 3 deletions
|
@ -34,12 +34,12 @@
|
|||
width: auto; /* Allow the width to adjust based on content */
|
||||
max-width: 100%; /* Prevent overflow */
|
||||
gap: 0;
|
||||
text-align: justify;
|
||||
text-align: left;
|
||||
}
|
||||
.side-screen {
|
||||
height: 100vh;
|
||||
overflow-y: auto; /* Allow scrolling if content overflows */
|
||||
flex: 0 0 400px; /* Fixed width of 400px */
|
||||
flex: 0 0 280; /* Fixed width of 400px */
|
||||
}
|
||||
.main-content {
|
||||
display: flex;
|
||||
|
@ -107,7 +107,7 @@
|
|||
max-width: 150px; /* Ensure the image doesn't exceed its intended size */
|
||||
height: auto; /* Maintain aspect ratio */
|
||||
}
|
||||
@media (max-width: 1450px) {
|
||||
@media (max-width: 1400px) {
|
||||
.side-screen {
|
||||
display: none; /* Hide side-screens on smaller screens */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue