1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-21 21:11:35 +01:00

Don't prevent whitespace wrapping in links/buttons, widen desktop pages (#3407)

Allowing whitespace to wrap solves the issue of long link/button text awkwardly breaking out of controls
Widening desktop "pages" prevents some unnecessary wrapping in places like the "Create account" button on the login screen, whose content is slightly wider than it should be (but this is currently masked by the `nowrap`)

Closes https://github.com/bitwarden/clients/issues/2620
This commit is contained in:
Patrick H. Lauke 2022-09-06 19:32:01 +01:00 committed by GitHub
parent 7c5e4dd3d6
commit 55e5e008c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 9 deletions

View File

@ -99,7 +99,6 @@ button {
}
button {
white-space: nowrap;
cursor: pointer;
}
@ -323,7 +322,6 @@ header {
padding: 7px 0;
text-decoration: none;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;

View File

@ -5,7 +5,6 @@
padding: 7px 15px;
border: 1px solid #000000;
font-size: $font-size-base;
white-space: nowrap;
text-align: center;
cursor: pointer;

View File

@ -85,7 +85,6 @@ button {
border: none;
background: transparent;
color: inherit;
white-space: nowrap;
cursor: pointer;
}

View File

@ -7,7 +7,6 @@
padding: 7px 15px;
border: 1px solid #000000;
font-size: $font-size-base;
white-space: nowrap;
text-align: center;
cursor: pointer;
@ -176,7 +175,6 @@ button.no-btn {
@include themify($themes) {
color: themed("textColor");
}
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

View File

@ -54,7 +54,7 @@
#lock-page,
#update-temp-password-page {
.content {
width: 300px;
width: 325px;
transition: width 0.25s linear;
p {
@ -112,7 +112,7 @@
#sso-page {
.content {
width: 300px;
width: 325px;
.box {
margin-top: 30px;

View File

@ -191,7 +191,6 @@ button.no-btn {
border: none;
padding: 0;
color: inherit;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;