Skip to content

Commit 4e124c5

Browse files
committed
readd pyxfluff carousel fix
1 parent 5644280 commit 4e124c5

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

src/shared/styles/pyxfluff.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,67 @@ table {
194194
background-color: transparent;
195195
}
196196
}
197+
198+
/* ripped carousel fix */
199+
.fs-feature-carousel-module-grid {
200+
display: flex;
201+
}
202+
203+
.fs-feature-carousel-module-info-column {
204+
display: flex;
205+
align-items: center;
206+
207+
h1 {
208+
max-width: 50%;
209+
}
210+
211+
/* Margin for the year badge */
212+
.fs-badge-module-root {
213+
margin-left: 10px !important;
214+
}
215+
216+
/* Bump up the size of the artist */
217+
div.mantine-Text-root {
218+
font-size: medium;
219+
}
220+
221+
/* Hide genres from carousel */
222+
.mantine-Stack-root>.mantine-Group-root:nth-child(3) {
223+
display: none;
224+
}
225+
226+
/* Attack carousel buttons */
227+
.mantine-Stack-root>.mantine-Group-root:last-child {
228+
bottom: 12px;
229+
position: absolute;
230+
231+
gap: 8px;
232+
233+
.mantine-UnstyledButton-root {
234+
border: 0px;
235+
transition: background .2s ease-in-out;
236+
opacity: 1;
237+
padding: 0px 20px;
238+
border-radius: 12px;
239+
240+
width: fit-content;
241+
min-height: 30px;
242+
max-height: 30px;
243+
244+
background: rgba(4, 4, 9, .5);
245+
246+
&:hover {
247+
background: var(--mantine-color-dark-9);
248+
}
249+
250+
svg {
251+
width: 13px;
252+
height: 13px;
253+
}
254+
}
255+
}
256+
}
257+
258+
.fs-feature-carousel-module-image-column {
259+
align-items: normal !important;
260+
}

0 commit comments

Comments
 (0)