Layout
Responsive Guidelines
To achieve responsive layouts, the UI Library relies on the Bootstrap Grid System.
The basics of responsiveness are achieved by using the following construct:
<div class="container">
<div class="row">
<div class="col-sm-6">
col-sm-6
</div>
<div class="col-sm-6">
col-sm-6
</div>
</div>
</div>
We generally use `col-sm-xx` for the columns, but if we want the columns to not collapse at the smallest (mobile) size, we use `col-xs-xx`. This retains the column definitions at the smallest breakpoint. For more details, see the Bootstrap Grid System documentation linked above.
Layout Settings
Grid Sizes
| Extra Small | Less than 576px | Phone |
| Small | 576px to 767px | Large Phone / Small Tablet |
| Medium | 768px to 991px | Tablet / Small Desktop |
| Large | 992px to 1199px | Dekstop |
| Extra Large | >= 1200px | Large Dekstop |
Spacing Units
| Smallest | 4px |
| Smaller | 8px |
| Small | 16px |
| Default | 24px |
| Large | 48px |
| Larger | 64px |
Field Heights
| Small | 32px |
| Default | 40px |