Skip to content

Commit cb58691

Browse files
committed
fix!: unexpected margins on image component (#947)
Fixes #691
1 parent 74dae34 commit cb58691

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

solara/server/assets/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ div.highlight {
158158
font-family: var(--jp-ui-font-family);
159159
}
160160

161+
.jupyter-widgets.solara-image {
162+
/* Remove default margin from the ipywidgets image, it caused unexpected (and often difficult to change) visual behaviour */
163+
margin: 0;
164+
}
165+
161166

162167
:root {
163168
--jp-warn-color0: var(--md-orange-700);

0 commit comments

Comments
 (0)