From 915baad93ca915a6a6ef2168d2dea9c2353370c6 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Mon, 9 Dec 2024 13:57:16 -0700 Subject: [PATCH] fix(preset): add x-margin for lut image --- pan3d/ui/preview.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pan3d/ui/preview.py b/pan3d/ui/preview.py index 9a1a955..ed1365d 100644 --- a/pan3d/ui/preview.py +++ b/pan3d/ui/preview.py @@ -327,11 +327,12 @@ def __init__(self, source, update_rendering): click=self.reset_color_range, ) # v3.VDivider() - html.Img( - src=("preset_img", None), - style="height: 0.75rem; width: 100%;", - classes="rounded-lg border-thin", - ) + with html.Div(classes="mx-2"): + html.Img( + src=("preset_img", None), + style="height: 0.75rem; width: 100%;", + classes="rounded-lg border-thin", + ) v3.VSelect( placeholder="Color Preset", prepend_inner_icon="mdi-palette",