Skip to content

Commit 956d5b0

Browse files
committed
Merge pull request mozilla#2510 from Snuffleupagus/outline-word-wrap
Add word wrap of text in the Outline view to avoid horizontal scrolling
2 parents e22ee54 + 727505b commit 956d5b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/viewer.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -975,16 +975,16 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
975975
text-decoration: none;
976976
display: inline-block;
977977
min-width: 95%;
978-
height: 20px;
979-
padding: 2px 0 0 10px;
978+
height: auto;
979+
padding: 2px 0 5px 10px;
980980
margin-bottom: 1px;
981981
border-radius: 2px;
982982
color: hsla(0,0%,100%,.8);
983983
font-size: 13px;
984984
line-height: 15px;
985985
-moz-user-select:none;
986986
cursor: default;
987-
white-space: nowrap;
987+
white-space: normal;
988988
}
989989

990990
.outlineItem > a:hover {

0 commit comments

Comments
 (0)