mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-06 03:31:22 +00:00
style(overflow): add temporary tweak patch for songs page for avoiding child element within lstfm div container card is too long that pushes container out of screen breaking responsivness by adding overflow x value with a scrollbar
This commit is contained in:
parent
86bb38a634
commit
0763b6b4ec
@ -123,7 +123,7 @@ export default Vue.extend({
|
|||||||
<section id="top-songs">
|
<section id="top-songs">
|
||||||
<Title class="mb-4">Top Songs (last 7 days)</Title>
|
<Title class="mb-4">Top Songs (last 7 days)</Title>
|
||||||
|
|
||||||
<div class="grid gap-x-4 gap-y-2 break-all md:grid-cols-2">
|
<div class="overflow-x-scroll grid gap-x-4 gap-y-2 md:grid-cols-2 card-margin">
|
||||||
<CardLastFm
|
<CardLastFm
|
||||||
v-for="song of lastFm.topTracks"
|
v-for="song of lastFm.topTracks"
|
||||||
:key="song.name"
|
:key="song.name"
|
||||||
@ -155,7 +155,7 @@ export default Vue.extend({
|
|||||||
<section id="recent">
|
<section id="recent">
|
||||||
<Title class="mb-4">Recent Songs</Title>
|
<Title class="mb-4">Recent Songs</Title>
|
||||||
|
|
||||||
<div class="grid gap-x-4 gap-y-2 md:grid-cols-2">
|
<div class="overflow-x-scroll grid gap-x-4 gap-y-2 md:grid-cols-2">
|
||||||
<CardLastFm
|
<CardLastFm
|
||||||
v-for="song of lastFm.recentTracks"
|
v-for="song of lastFm.recentTracks"
|
||||||
:key="song.name"
|
:key="song.name"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user