mirror of https://github.com/node-red/node-red.git
Align node labels on FF
FF doesn't seems to use alignment-baseline CSS class in the same way Chrome does. Switched to domintant-baseline.pull/2623/head
parent
c9e54f2ba9
commit
0c90376752
|
@ -37,7 +37,7 @@
|
|||
@include disable-selection;
|
||||
|
||||
.red-ui-flow-node-label-text {
|
||||
alignment-baseline: middle;
|
||||
dominant-baseline: middle;
|
||||
}
|
||||
|
||||
&.red-ui-flow-node-label-right .red-ui-flow-node-label-text {
|
||||
|
@ -49,7 +49,7 @@
|
|||
stroke-width: 0;
|
||||
fill: $secondary-text-color;
|
||||
font-size: 16px;
|
||||
alignment-baseline: middle;
|
||||
dominant-baseline: middle;
|
||||
text-anchor: middle;
|
||||
pointer-events: none;
|
||||
-webkit-touch-callout: none;
|
||||
|
|
Loading…
Reference in New Issue