File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,15 @@ def on_click_clear(e: me.ClickEvent):
5555 with me .box (
5656 style = me .Style (
5757 margin = me .Margin (left = "auto" , right = "auto" ),
58- width = "min(960px, 100%)" ,
58+ width = "min(1024px, 100%)" ,
59+ gap = "24px" ,
5960 height = "100%" ,
6061 display = "flex" ,
62+ flex_wrap = "wrap" ,
6163 )
6264 ):
6365 box_style = me .Style (
64- flex_basis = "50%" ,
66+ flex_basis = "max(480px, calc( 50% - 48px)) " ,
6567 background = "#fff" ,
6668 border_radius = 12 ,
6769 box_shadow = "0 3px 1px -2px #0003, 0 2px 2px #00000024, 0 1px 5px #0000001f" ,
@@ -93,7 +95,6 @@ def on_click_clear(e: me.ClickEvent):
9395 type = "raised" ,
9496 on_click = on_click_generate ,
9597 )
96- me .box (style = me .Style (width = 24 ))
9798 with me .box (style = box_style ):
9899 me .text ("Output" , style = me .Style (font_weight = 500 ))
99100 me .markdown (me .state (State ).output )
You can’t perform that action at this time.
0 commit comments