Skip to content

Commit

Permalink
minimum tap dimension for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Feb 15, 2023
1 parent 07d86c8 commit a25e9a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions theme/themes/eea/extras/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ footer .footer-wrapper .menu {
font-weight: @mobileMenuCopyrightFontWeight;
}

footer .footer-wrapper a {
min-width: @mobileTapTargetMinimum;
min-height: @mobileTapTargetMinimum;
}

.contact-block .subcontact {
margin-top: @mobileSubcontactBlockMarginTop;
}
Expand Down
3 changes: 3 additions & 0 deletions theme/themes/eea/extras/footer.variables
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@
@mobileMenuCopyrightFontWeight : @font-weight-3;
@mobileMenuFontWeight : @font-weight-4;
@computerMenuFontSize : @font-size-1;
@menuFooterActionsGap : @size-1 0;
@menuFooterCopyrightGap : @size-1 0;
@mobileTapTargetMinimum : 50px;

0 comments on commit a25e9a8

Please sign in to comment.