Responsive Layout

Why i got this layout crashed is it because of styling of web fault this happens rarely and then it is fixed by it-self https://94h77v-5173.csb.app/
No description
9 Replies
Mannix
Mannix4mo ago
gap of 30.8 rem??? jeez
Jochem
Jochem4mo ago
it also looks like you're using a resize event or something to apply some styling?
anes039
anes039OP4mo ago
wait @Mannix where do u see that gap? which element send me some snapshot @Jochem where bro
Mannix
Mannix4mo ago
No description
Jochem
Jochem4mo ago
the background acts weird when you resize it, in a way I don't think is possible using pure CSS
Mannix
Mannix4mo ago
instead of margin: auto on the search you can put justify-content: space-between on the element from the screenshot i posted
anes039
anes039OP4mo ago
@Mannix i did that because of the contents to be in position that i want i could use also position relative but i was worried because of my responsivity i see i can remove that gap is useless agahahaha and also another question how do i fix the cursor posiiton inside the search input
Mannix
Mannix4mo ago
also for the grid i would change grid-template-columns to grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) ); adjust the padding on it ?
Want results from more Discord servers?
Add your server