Replies: 6 comments 12 replies
-
|
@jackpurrin Thanks for reporting. I don't know exactly how your "flex setup" is (?), but after a little experimentations I can confirm that in some flex scenarios the element seems to "disappear". What really happens (in the cases I saw) is that the width of the element "collapses" to zero. So one way to solve the issue, is to explicitly defining the width or min-width of the element. I hope that can help? After the quick experiments I have made, I am considering setting the elements default width to 100% (which you always can override in your own css). But I will probably experiment a bit more before I decide if that is the way I will go in a future update of the component. |
Beta Was this translation helpful? Give feedback.
-
|
oh thanks, i'll check if writing a max width would help! also for further context, my css is written like main {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
...
p {
width: 35%;
}i wasn't going to include that p in the context, but it sounds relevant due to being something regarding width now. |
Beta Was this translation helpful? Give feedback.
-
|
did you mean this? if so, i did put a !important to it and no different results. lastfm-tracks {
box-sizing: border-box;
border: 1px solid #000;
width: 500px !important;
height: 260px;
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
MODULES CAN'T BE ADDED WHILE IN A HTML FILE IN FIREFOX TvT |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I have my main element using a
display:flex, and i'm not sure why, but it does not show at all with that. If I remove thedisplay:flex, it works!Beta Was this translation helpful? Give feedback.
All reactions