Bug 935417 - Better word wrapping in the css rule view. r=harth

This commit is contained in:
Patrick Brosset 2013-12-18 12:40:08 -05:00
parent 6151ebb11d
commit 4d9d84715b
4 changed files with 19 additions and 2 deletions

View File

@ -51,7 +51,7 @@
.ruleview-header {
vertical-align: middle;
height: 1.5em;
min-height: 1.5em;
line-height: 1.5em;
}

View File

@ -22,6 +22,7 @@
padding: 1px 4px;
margin-top: 4px;
-moz-user-select: none;
word-wrap: break-word;
}
.ruleview-rule-source:hover {
@ -115,6 +116,7 @@
.ruleview-property {
border-left: 2px solid transparent;
clear: right;
}
.ruleview-property > * {
@ -135,6 +137,10 @@
border-bottom-color: hsl(0,0%,50%);
}
.ruleview-selector {
word-wrap: break-word;
}
.ruleview-selector-separator, .ruleview-selector-unmatched {
color: #888;
}

View File

@ -21,6 +21,7 @@
border-bottom-style: solid;
padding: 1px 4px;
-moz-user-select: none;
word-wrap: break-word;
}
.ruleview-rule-pseudo-element {
@ -119,6 +120,7 @@
.ruleview-property {
border-left: 2px solid transparent;
clear: right;
}
.ruleview-property > * {
@ -139,7 +141,10 @@
border-bottom-color: hsl(0,0%,50%);
}
.ruleview-selector {
word-wrap: break-word;
}
.ruleview-selector-separator, .ruleview-selector-unmatched {
color: #888;
}

View File

@ -22,6 +22,7 @@
padding: 1px 4px;
margin-top: 4px;
-moz-user-select: none;
word-wrap: break-word;
}
.ruleview-rule-source:hover {
@ -115,6 +116,7 @@
.ruleview-property {
border-left: 2px solid transparent;
clear: right;
}
.ruleview-property > * {
@ -135,6 +137,10 @@
border-bottom-color: hsl(0,0%,50%);
}
.ruleview-selector {
word-wrap: break-word;
}
.ruleview-selector-separator, .ruleview-selector-unmatched {
color: #888;
}