Skip to content

Commit 2daa28e

Browse files
committed
fix(styles): Diff view styles
1 parent f63a1aa commit 2daa28e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/diff/abstract_diff_view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default abstract class DiffView extends Modal {
106106
'generic-empty-diff': `<tr>
107107
<td class="{{CSSLineClass.INFO}}">
108108
<div class="{{contentClass}}">
109-
File without changes2
109+
File without changes
110110
</div>
111111
</td>
112112
</tr>`

src/styles/diff-styles.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,9 @@ mode from @SlRvb, which fall under the same license (MIT license, @kometenstaub
473473
color: var(--text-on-accent);
474474
padding: var(--size-4-2) var(--size-4-3);
475475
margin-left: 8px;
476+
box-shadow: var(--input-shadow);
477+
height: var(--input-height);
478+
font-size: var(--font-ui-small);
476479
}
477480
}
478481
}
@@ -532,7 +535,7 @@ mode from @SlRvb, which fall under the same license (MIT license, @kometenstaub
532535
.modal-content {
533536
display: flex;
534537
flex-direction: row;
535-
height: 76vh;
538+
height: 76vh !important;
536539
}
537540
}
538541

0 commit comments

Comments
 (0)