2023-11-10, 08:40 AM
I hated having "Special Features" buried down the bottom and never noticing them. I wanted to have Specials show up before the cast. First I was looking at moving things around with margins and positioning. Big pain in the ass because of all the edge cases. SO many edge cases.
Fortunately, there's a super easy fix, thanks to flexboxes! All you have to do is add the "order" css attribute, and... well, actually, that's it.
Whatever order you put these in (they start at 0) is the order they'll display in. If two or more are the same number, they'll just display in the normal order.
#specialsCollapsible {
order:1;
}
#castCollapsible {
order:2;
}
#seriesScheduleSection {
order:3;
}
#musicVideosCollapsible {
order: 4;
}
#scenesCollapsible {
order: 5;
}
#similarCollapsible {
order: 6;
}
Fortunately, there's a super easy fix, thanks to flexboxes! All you have to do is add the "order" css attribute, and... well, actually, that's it.
Whatever order you put these in (they start at 0) is the order they'll display in. If two or more are the same number, they'll just display in the normal order.
#specialsCollapsible {
order:1;
}
#castCollapsible {
order:2;
}
#seriesScheduleSection {
order:3;
}
#musicVideosCollapsible {
order: 4;
}
#scenesCollapsible {
order: 5;
}
#similarCollapsible {
order: 6;
}