Skip to content

Commit 3fd745d

Browse files
committed
Linting and padding
1 parent bd5bd55 commit 3fd745d

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/components/CaseViewer.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,12 @@ const vivChrome = (main: JSX.Element, rightPanel?: ReactNode): JSX.Element => (
8888
width: 300,
8989
flexShrink: 0,
9090
borderLeft: 'solid 0.25px',
91-
padding: '10px 12px',
9291
fontSize: 12,
9392
color: 'rgba(0,0,0,0.55)',
9493
overflow: 'auto',
9594
}}
9695
>
97-
{rightPanel ?? (
98-
<span>Viv preview — classic slide tools are not wired here yet.</span>
99-
)}
96+
{rightPanel}
10097
</aside>
10198
</div>
10299
)
@@ -475,12 +472,13 @@ function ParametrizedSlideViewer({
475472
fontWeight: 600,
476473
marginBottom: 8,
477474
color: 'rgba(0,0,0,0.85)',
475+
padding: '12px 12px 0 12px',
478476
}}
479477
>
480-
Viv Preview
478+
viv preview
481479
</div>
482-
<p style={{ marginBottom: 12 }}>
483-
Classic slide tools are not wired here yet.
480+
<p style={{ marginBottom: 12, padding: '0 12px 12px 12px' }}>
481+
Only bulk simple annotations are supported in this preview!
484482
</p>
485483
{vivAnnotationGroupPanel}
486484
</div>,

0 commit comments

Comments
 (0)