Skip to content

Commit 46ef6b1

Browse files
authored
Update index.html
1 parent 7752063 commit 46ef6b1

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎index.html‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
.hero-header {
6969
max-width: 1000px;
7070
margin: 60px auto 40px auto;
71-
text-align: center; /* Wymusza środek */
71+
text-align: center;
7272
padding: 0 20px;
7373
}
7474
.hero-title { font-size: 3.5rem; font-weight: 900; margin: 0; letter-spacing: -2px; line-height: 1; color: #fff; }
@@ -79,9 +79,11 @@
7979
/* MAIN DASHBOARD GRID */
8080
/* ------------------------------------ */
8181
.dashboard {
82-
max-width: 1600px; /* Bardzo szeroki kontener, żeby sidebar doszedł do lewej */
83-
width: 95%; /* 95% szerokości ekranu */
82+
width: 100%;
83+
max-width: 100%; /* Zdejmujemy blokadę szerokości */
84+
padding: 0 40px; /* Ustawiamy dokładnie taki sam odstęp od lewej krawędzi, jak logo w navbarze */
8485
margin: 0 auto 60px auto;
86+
box-sizing: border-box;
8587
}
8688

8789
.grid-container {
@@ -113,6 +115,7 @@
113115
display: flex;
114116
flex-direction: column;
115117
gap: 30px;
118+
max-width: 1200px; /* Lekkie ograniczenie środka, żeby nie rozciągał się w nieskończoność na ogromnych monitorach */
116119
}
117120

118121
.card { background: rgba(10, 10, 10, 0.7); border: 1px solid var(--border-color); padding: 25px; border-radius: 12px; backdrop-filter: blur(10px); }
@@ -128,8 +131,9 @@
128131

129132
@media (max-width: 1024px) {
130133
.navbar { display: flex; flex-direction: column; gap: 15px; align-items: center; padding: 15px; }
134+
.dashboard { padding: 0 20px; }
131135
.grid-container { grid-template-columns: 1fr; gap: 20px; }
132-
.vertical-divider { display: none; } /* Chowa kreskę na telefonach */
136+
.vertical-divider { display: none; }
133137
.left-sidebar { position: static; }
134138
.hero-title { font-size: 2.5rem; }
135139
}

0 commit comments

Comments
 (0)