Skip to content

Commit

Permalink
Merge pull request metabrainz#2557 from reosarevok/MBS-12332-fix
Browse files Browse the repository at this point in the history
MBS-12415 / MBS-12416: Limit overenthusiastic overflow-wrap
  • Loading branch information
reosarevok committed Jun 1, 2022
2 parents 22066ed + 799df77 commit 4f47d6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions root/static/styles/edit.less
Expand Up @@ -103,6 +103,7 @@ table.vote-tally {

.edit-note-text {
padding-left: 1em;
overflow-wrap: anywhere;
}

.modbot {
Expand Down
7 changes: 6 additions & 1 deletion root/static/styles/layout.less
Expand Up @@ -10,7 +10,6 @@ body {
font-family: @sans-serif;
min-width: @min-width;
margin: auto;
overflow-wrap: anywhere;

@media @wide {
padding: 0 10px;
Expand All @@ -20,6 +19,7 @@ body {
a {
color:@link-default;
text-decoration: none;
overflow-wrap: anywhere;

&:visited {
color:@link-visited;
Expand Down Expand Up @@ -158,6 +158,11 @@ pre code {
margin-right: 16px;
clear: both;

a {
// So menu links don't wrap (TODO: review with responsive header)
overflow-wrap: normal;
}

img.logo {
width: @logo-width;
height: @logo-height;
Expand Down

0 comments on commit 4f47d6a

Please sign in to comment.