setiing css

This commit is contained in:
YasinOnm08 2024-09-20 15:27:21 +02:00
parent f37c0fb509
commit 85c958c301

View file

@ -12,6 +12,14 @@
z-index: 10000; z-index: 10000;
} }
.settings-container{
display: grid;
grid-template-columns: 1fr 3fr; /* 1fr for sidebar, 3fr for main content */
grid-auto-flow: column;
overflow-x:hidden;
}
/* Settings content */ /* Settings content */
.settings-content { .settings-content {
background: #f5f5f5; background: #f5f5f5;
@ -22,9 +30,6 @@
max-width: 800px; max-width: 800px;
height: 90%; height: 90%;
max-height: 600px; max-height: 600px;
display: grid;
grid-template-columns: 1fr 3fr; /* 1fr for sidebar, 3fr for main content */
grid-auto-flow: column;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
overflow: scroll; /* Prevents overflow of the content */ overflow: scroll; /* Prevents overflow of the content */
position: relative; /* Needed for absolute positioning of close button */ position: relative; /* Needed for absolute positioning of close button */