feat: diff file multi line comment
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/* Custom styles for @git-diff-view/react demo */
|
||||
|
||||
/* CSS Custom Properties */
|
||||
:root {
|
||||
--diff-selection-bg: oklch(0.85 0.08 260 / 30%);
|
||||
--diff-selection-border: oklch(0.6 0.15 260);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--diff-selection-bg: oklch(0.35 0.08 260 / 40%);
|
||||
--diff-selection-border: oklch(0.65 0.15 260);
|
||||
}
|
||||
|
||||
/* Multi-line selection overlay */
|
||||
.diff-multiline-selection-overlay {
|
||||
position: absolute;
|
||||
background-color: var(--diff-selection-bg);
|
||||
border: 2px solid var(--diff-selection-border);
|
||||
border-radius: 2px;
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Ensure proper reset for color in widget/extend wrappers */
|
||||
.diff-line-extend-wrapper,
|
||||
.diff-line-widget-wrapper {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.diff-line-extend-wrapper *,
|
||||
.diff-line-widget-wrapper * {
|
||||
color: inherit;
|
||||
}
|
||||
Reference in New Issue
Block a user