From 6fc53770ef38e82793d6087c5c45fcaa859c9076 Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Sun, 3 Nov 2019 19:04:35 +0100 Subject: [PATCH] overflow-wrap --- .../_dialogs/present-comment/present-comment.component.scss | 2 +- src/app/components/shared/comment/comment.component.scss | 2 +- src/app/components/shared/room-join/room-join.component.html | 1 - src/styles.scss | 4 ++++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/components/shared/_dialogs/present-comment/present-comment.component.scss b/src/app/components/shared/_dialogs/present-comment/present-comment.component.scss index 34dbf2bb0..6a629be5c 100644 --- a/src/app/components/shared/_dialogs/present-comment/present-comment.component.scss +++ b/src/app/components/shared/_dialogs/present-comment/present-comment.component.scss @@ -8,7 +8,7 @@ margin: 5%; white-space: pre-line; hyphens: auto; - word-wrap: break-word; + overflow-wrap: anywhere !important; } #comment p { diff --git a/src/app/components/shared/comment/comment.component.scss b/src/app/components/shared/comment/comment.component.scss index fd378a3fe..3aaa73bcb 100644 --- a/src/app/components/shared/comment/comment.component.scss +++ b/src/app/components/shared/comment/comment.component.scss @@ -69,7 +69,7 @@ mat-card-content > :first-child { color: var(--on-surface); white-space: pre-line; hyphens: auto; - word-wrap: break-word; + overflow-wrap: anywhere !important; } .click { diff --git a/src/app/components/shared/room-join/room-join.component.html b/src/app/components/shared/room-join/room-join.component.html index 9e82a1dd5..cbbb17f8f 100644 --- a/src/app/components/shared/room-join/room-join.component.html +++ b/src/app/components/shared/room-join/room-join.component.html @@ -4,7 +4,6 @@ <mat-form-field (keyup.enter)="onEnter()"> <input id="session_id-input" - autocomplete="cc-number" matInput #roomId (focus)="eventService.makeFocusOnInputTrue()" diff --git a/src/styles.scss b/src/styles.scss index 9a49c1fd7..4ae170833 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -31,6 +31,10 @@ body{ border-radius: 10px; } +::-webkit-scrollbar-track-piece { + background-color: var(--dialog); +} + .dark { @include angular-material-theme($dark-theme); } -- GitLab