mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
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.
This commit is contained in:
parent
c9e54f2ba9
commit
0c90376752
@ -37,7 +37,7 @@
|
|||||||
@include disable-selection;
|
@include disable-selection;
|
||||||
|
|
||||||
.red-ui-flow-node-label-text {
|
.red-ui-flow-node-label-text {
|
||||||
alignment-baseline: middle;
|
dominant-baseline: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.red-ui-flow-node-label-right .red-ui-flow-node-label-text {
|
&.red-ui-flow-node-label-right .red-ui-flow-node-label-text {
|
||||||
@ -49,7 +49,7 @@
|
|||||||
stroke-width: 0;
|
stroke-width: 0;
|
||||||
fill: $secondary-text-color;
|
fill: $secondary-text-color;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
alignment-baseline: middle;
|
dominant-baseline: middle;
|
||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user