Skip to content

Commit

Permalink
Add a maximum width for email address
Browse files Browse the repository at this point in the history
On large viewports, we don't want the hero content part to
endlessly grow if the user's email address happens to be
ridiculously long. This change limits it to a reasonable size that
maintains readability for the regular content, and truncates the
email address if it is wider than that.
  • Loading branch information
Vinnl committed Apr 17, 2023
1 parent c171875 commit 5aa3f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/css/partials/exposureScan.css
Expand Up @@ -43,6 +43,7 @@
flex-direction: column;
align-items: flex-start;
gap: var(--gap);
width: var(--max-width-p);
max-width: 100%;
}

Expand Down

0 comments on commit 5aa3f0d

Please sign in to comment.