fix weird shift in Cards due to double insertion of <a> tag on server
This commit is contained in:
parent
1222fe7487
commit
9ddafaacca
@ -25,6 +25,7 @@ onMount(() => {
|
|||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
|
margin-right: 2em; /* gap in MediaScroller does not work due to double insertion of a tag on server side */
|
||||||
--card-width: 300px;
|
--card-width: 300px;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
@ -8,7 +8,7 @@ export let title
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap:nowrap;
|
flex-wrap:nowrap;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
gap: 2rem;
|
/*gap: 2rem;*/ /*messes up if js disabled as anchor tag is inserted twice...*/
|
||||||
padding: 3rem;
|
padding: 3rem;
|
||||||
}
|
}
|
||||||
.media_scroller_wrapper{
|
.media_scroller_wrapper{
|
||||||
|
Loading…
Reference in New Issue
Block a user