I need assistance with adjusting the width of items in a list. The list includes:
<ul>
<li>One</li>
<li>One-One</li>
<li>Two</li>
<li>Two-Two</li>
</ul>
The display should be dynamic, switching between two columns and one column. For example:
Two Column Scenario
One | One-One
Two | Two-Two
One Column Scenario
One
Two
I am using AngularJS with HTML5 and CSS3. Any guidance on how to adjust the width according to the scenario would be greatly appreciated.
Thank you for your help in advance.