Explorar o código

adjust line height

AykutSarac %!s(int64=2) %!d(string=hai) anos
pai
achega
d43669150a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/containers/Editor/LiveEditor/helpers.ts

+ 1 - 1
src/containers/Editor/LiveEditor/helpers.ts

@@ -37,7 +37,7 @@ export function getEdgeNodes(
         .sort((a, b) => a - b);
       const longestLine = lineLengths.reverse()[0];
 
-      const height = lines.length * 18 < 30 ? 40 : lines.length * 18;
+      const height = lines.length * 17.8 < 30 ? 40 : lines.length * 17.8;
 
       nodes.push({
         id: el.id,