oldUI fixups
* remove separator before 1st applies-to * center name bubbles
This commit is contained in:
parent
8473053d79
commit
15eb1b890b
|
@ -243,6 +243,10 @@ a:hover {
|
|||
margin-left: 1ex;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
.newUI .disabled h2::after,
|
||||
.newUI .entry.usercss .style-name-link::after {
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
|
|
|
@ -288,7 +288,7 @@ function createStyleTargetsElement({entry, expanded, style = entry.styleMeta}) {
|
|||
if (!newUI.enabled) {
|
||||
if (numTargets === maxTargets) {
|
||||
container = container.appendChild(t.template.extraAppliesTo.cloneNode(true));
|
||||
} else if (numTargets > 0) {
|
||||
} else if (numTargets > 1) {
|
||||
container.appendChild(t.template.appliesToSeparator.cloneNode(true));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user