-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back link looks broken with increased text size #662
Comments
We also need to look at the placement of this within the page, it should be placed outside the
or
Guidance should be updated in the service manual and styles changed which means this would most likely be a breaking change. |
Ensures the back link chevron-left icon is vertically aligned with the text at all font sizes.
This ensures that the back breadcrumb chevron icon is vertically aligned with the text, even at large font sizes.
Ensures that the action link icon is vertically aligned with the text, even at large font sizes.
Vertically aligns the pagination icon with the pagination text, even with large font sizes. This calculation was determined experimentally by manually positioning the icons at a variety of font sizes, and succeeds in appearing to vertically align the icon in the majority of cases, with only very small font sizes looking slightly out of place. The removal of `margin-top: 0` for `media-type: print` does not appear to affect the output when printing.
Bug Report
What is the issue?
When you increase the text size the back button text and icon become misaligned.
What steps are required to reproduce the issue?
Increase the browser text size and view a page with a back link on.
What was the environment where this issue occurred?
Is there anything else you think would be useful in recreating the issue?
Possible solution
Adding
margin: auto
,bottom: 0
andtop: 0
looks to solve the issue. Needs more testing though.Other considerations
It might also be worth reviewing the appearance of the back link, as it currently doesn't match the breadcrumb back link.
Breadcrumb back link example (with increased text size):
The text was updated successfully, but these errors were encountered: