-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define size of inputs etc in pixels rather than em
Remove the calls to the `em` function from Frontend, so that all measurements are defined in pixels. The `em` conversions were originally added in an attempt to make form elements line up. However, they cause problems when you try to use Frontend in an application that defines font sizes, especially when those font sizes are nested. This also removes the em() call from `govuk-c-details` as the above problems apply to this component too. For now, `govuk-c-table` still calls `em` - I'll find out from Anika if there's any particular reason tables in Elements used them.
- Loading branch information
1 parent
ca44b86
commit 5f4d20c
Showing
5 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters