Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
add auto hyphenation for all browsers (#122)
Browse files Browse the repository at this point in the history
* add auto hyphenation for all browsers

* add styling to replies
claireclark1 authored Oct 1, 2021
1 parent 86c7777 commit 603e5de
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/scss/Post.scss
Original file line number Diff line number Diff line change
@@ -5,6 +5,11 @@

.Post__caption {
margin: 16px 0;
word-wrap: break-word;
overflow-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}

.Post__metaBlock {
6 changes: 5 additions & 1 deletion src/components/scss/Reply.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.Reply__block {
position: relative;
margin-bottom: 14px;
max-height: 400px;
flex-grow: 1;
background-color: $light-gray;
padding: 4px;
@@ -23,4 +22,9 @@

.Reply__message {
margin-left: 38px;
word-wrap: break-word;
overflow-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}

0 comments on commit 603e5de

Please sign in to comment.