Skip to content

Commit

Permalink
Add linebreaks to long card names and deck section names
Browse files Browse the repository at this point in the history
Fixes #36
  • Loading branch information
NilsEnevoldsen committed Sep 27, 2018
1 parent 62f028d commit 9ff93b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ScryfallLinks",
"version": "1.2.1",
"version": "1.2.2",
"author": [
"Nils Enevoldsen"
],
Expand Down
5 changes: 4 additions & 1 deletion modules/ext.scryfallLinks.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
}
&section {
break-inside: avoid-column;
white-space: nowrap;
overflow-x: hidden;
padding-left: 1em;
}
Expand All @@ -51,6 +50,10 @@
width: 1.2em;
text-align: right;
}
&entry {
padding-left: 1.5em;
text-indent: -1.5em;
}
&export {
position: relative;
float: right;
Expand Down

0 comments on commit 9ff93b4

Please sign in to comment.