Hello,
I have now extended my CSS as follows and it is almost as I imagined it! 🙂
.com-weblinks-category__filter {
display: inline-flex;
gap: 10px;
}
.com-weblinks-category__filter input[type="text"] {
margin-bottom: 0px;
}
@media only screen and (max-width: 600px) {
.com-weblinks-category__pagination {
float: none !important;
margin-top: 5px;
}
.com-weblinks-category__filter input[type="text"] {
width: 100%;
}
}
I asked ChatGPT which devices your @media information is for: I think 790px is for laptops and desktop PCs and by specifying 532px you want to address smartphones. I don't understand why I should put information relating to a desktop PC in a @media, that's why I didn't do it. ChatGPT also suggested 600px for smartphones to me.
However, the search field in the mobile view is very short. How can I put the buttons under the search field for the mobile view? I think I need a mix of Flexbox and Grid for this, right? I would like to have the buttons next to each other in the 2nd row.