style: dodanie limitów szerokości kolumn i kontenerów zapobiegających rozjeżdżaniu się layoutu przy długich tytułach
This commit is contained in:
1 file changed
+36
-2
+36
-2
@@ -168,13 +168,15 @@ body {
|
|||||||
/* Dashboard Grid Layout */
|
/* Dashboard Grid Layout */
|
||||||
.dashboard-grid {
|
.dashboard-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1.2fr;
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.dashboard-grid {
|
.dashboard-grid {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: minmax(0, 1fr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -182,6 +184,9 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Glassmorphic Cards */
|
/* Glassmorphic Cards */
|
||||||
@@ -194,6 +199,9 @@ body {
|
|||||||
padding: 24px;
|
padding: 24px;
|
||||||
box-shadow: var(--shadow-premium);
|
box-shadow: var(--shadow-premium);
|
||||||
transition: var(--transition-smooth);
|
transition: var(--transition-smooth);
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.glass-card:hover {
|
.glass-card:hover {
|
||||||
@@ -1063,3 +1071,29 @@ body {
|
|||||||
width: 240px;
|
width: 240px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Zapobieganie rozjeżdżaniu się layoutu przy długich tytułach nagrań */
|
||||||
|
.now-playing-info,
|
||||||
|
.track-title,
|
||||||
|
.queue-item,
|
||||||
|
.queue-track-info,
|
||||||
|
.queue-track-title,
|
||||||
|
.guild-setting-row,
|
||||||
|
.guild-info,
|
||||||
|
.guild-name,
|
||||||
|
.glass-card,
|
||||||
|
.grid-column,
|
||||||
|
.player-panel {
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.track-title,
|
||||||
|
.queue-track-title,
|
||||||
|
.guild-name {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user