@hafslundnett/hdd-style
Advanced tools
Changelog
Update [9.0.0]
In this update the default scrollbar is customized to look similar on both Windows and Mac. The new scrollbar will now be visible by default on all scrollable elements, having the same behavior on Mac as on Windows.
Can affect the look of all elements with scroll.
Should not require any fix.
Changelog
Update [8.0.0]
In this update the default forms-compoentent have some breaking changes that fixes some styling-bugs.
Can affect spacing between .hdd-form_field
elements and other elements.
Add your own spacing between elements with the hdd-spacing standards!
.hdd-form_field
- standard spacing between elements is the same, but spacing will not be added to the last element..hdd-form_checkbox
- standard spacing between elements is the same, but spacing will not be added to the last element..hdd-form_radiobutton
- standard spacing between elements is the same, but spacing will not be added to the last element.border-box
as the new universal box-sizing
all elements will inherit this style.box-sizing
attribute can be set to content-box
or the element itself needs to change.Will affect the checkboxes if custom styling has been added to make the checkboxes smaller og bigger.
Overwrite the min + max width and height in your own component! Check with a designer if the change is needed.
.hdd-form_checkbox_mark
has now min + max width and height set to same height so that the size will never change..hdd-form_field_title
has now the attribute font-weight: bold
.