Skip to content

Commit

Permalink
MBS-11823: Don't break tags and genres mid-word
Browse files Browse the repository at this point in the history
This was set to word-break: break-all to avoid long one-word tags
such as weird URLs. That actually means all tags with normal words
break weirdly. mwiencek proposed overflow-wrap: anywhere to cater
to both of these issues, and that seems to work - the only worry
is that this is not supported in older browsers.
  • Loading branch information
reosarevok committed Aug 17, 2021
1 parent 2b00b84 commit 181c8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/static/styles/layout.less
Expand Up @@ -481,7 +481,7 @@ div.warning img.warning {
display: flex;
a {
display: inline-block;
word-break: break-all;
overflow-wrap: anywhere;
padding: 4px;
flex-grow: 1;
-webkit-flex-grow: 1;
Expand Down

0 comments on commit 181c8bd

Please sign in to comment.