adjust inline edit font size

This commit is contained in:
Test 2024-10-29 17:57:34 -07:00
parent 31c562117d
commit 4202dfd78d
2 changed files with 21 additions and 2 deletions

View file

@ -215,7 +215,7 @@ class VerticalDiffBlock(
val g2 = g.create() as Graphics2D
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)
g2.color = backgroundColor
g2.fillRoundRect(0, 0, width - 1, height - 1, 8, 8)
g2.fillRoundRect(0, 0, width - 1, height - 1, 4, 4)
super.paintComponent(g2)
g2.dispose()
}
@ -225,7 +225,7 @@ class VerticalDiffBlock(
isContentAreaFilled = false
isOpaque = false
border = BorderFactory.createEmptyBorder(4, 2, 4, 2)
preferredSize = Dimension(preferredSize.width - 30, 16)
preferredSize = Dimension(preferredSize.width - 30, 14)
cursor = Cursor(Cursor.HAND_CURSOR)
}
}

View file

@ -0,0 +1,19 @@
@@ -1,18 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/play_button.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Continue</title>
<script type="module" crossorigin src="/assets/index.js"></script>
<link rel="stylesheet" href="/assets/index.css" />
</head>
<body>
<div id="root"></div>
<script>
localStorage.setItem("ide", '"jetbrains"');
</script>
</body>
</html>