Open gidsg opened 4 years ago
hours
estimate is based on fixing the styling but not documenting it.
Context: GOV.UK content designers have always followed the convention of not using nested lists (although this isn't documented anywhere) so right now we're not confident in adding documentation for doing this in the Design System (we'd need more evidence of user need).
Currently the design system does not include styling for nested bullet lists. e.g. a
<ul>
within a<ul>
or the example included in: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ulCurrently if you use no additional classes on the nested elements they look OK: However, if you add the
.govuk-list
they no longer appear as clearly nested:If the default styling is not considered best practice, then the design system classes should handle this case explicitly.