We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b6758 commit e94ecb0Copy full SHA for e94ecb0
src/webviews/apps/plus/composer/components/diff/diff.css.ts
@@ -98,9 +98,11 @@ export const hljsStyles = css`
98
99
export const diff2htmlStyles = css`
100
:host {
101
- --d2h-intrinsic-base-height: 3.5rem;
+ --d2h-intrinsic-base-height: 3.5rem; /* header height */
102
--d2h-intrinsic-line-count: 50;
103
- --d2h-intrinsic-line-height: 1.8rem;
+ --d2h-intrinsic-line-height: calc(
104
+ var(--editor-font-size) * 1.5
105
+ ); /* 1.8rem - line height, should be relative to font size, but still a fixed height */
106
--d2h-intrinsic-height: calc(
107
var(--d2h-intrinsic-base-height) + (var(--d2h-intrinsic-line-height) * var(--d2h-intrinsic-line-count))
108
);
0 commit comments