Skip to content

Commit

Permalink
render_example: fix imgimg preview
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-work committed Mar 7, 2025
1 parent 36437a5 commit acb1d48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,7 @@ def render_example_author_meta():
& .gui_example_media .gui-img, .gui-video {
max-width: 150px !important;
height: 100% !important;
width: unset !important;
}
@media (max-width: 768px) {
Expand Down Expand Up @@ -2434,7 +2435,7 @@ def render_example_author_meta():
unsafe_allow_html=True,
)
with gui.div(
className="flex-grow-1 d-flex justify-content-end"
className="flex-grow-1 d-flex justify-content-end ms-2"
):
with gui.div(className="gui_example_media"):
self.render_example_preview_media(
Expand Down

0 comments on commit acb1d48

Please sign in to comment.