You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my code snippet you can see I have a nesting grid that should be variable in width as I specified its parent to col-auto. When you run the example you see that it is not variable in width but larger than its content.
I am looking forward to any advice or hint!
<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8" /><metaname="viewport" content="width=device-width, initial-scale=1" /><linkhref="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/></head><body><divclass="container"><divclass="row"><divclass="col-auto"><divclass="row"><divclass="col-12 border">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</div><divclass="col-12 border">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</div></div></div><divclass="col border" style="aspect-ratio: 1/1">2 of 2</div></div></div></body></html>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my code snippet you can see I have a nesting grid that should be variable in width as I specified its parent to col-auto. When you run the example you see that it is not variable in width but larger than its content.
I am looking forward to any advice or hint!
Beta Was this translation helpful? Give feedback.
All reactions