web-illinois / ilw-call-to-action

Call to action component for the toolkit.
MIT License
0 stars 0 forks source link

Please implement "width" attribute #2

Closed bryanjonker-illinois closed 2 months ago

bryanjonker-illinois commented 2 months ago

https://builder3.toolkit.illinois.edu/sample_page/index.html

Can you implement the width attribute of full and auto like it works for the ilw-columns?

width="full" should have it extend the entire width, breaking any margins width="auto" should have the background extend the entire width, but the text should stay in the prescribed margins.

Using this as the margin for columns: 0 max(1.875rem, calc(50cqw - 37.5rem)) 0

Happy to save this as a global variable to be reused. Thanks!