File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,10 @@ def render(self):
385385 display: block !important;
386386 }
387387
388+ & button:has(#run-tab) {
389+ margin-left: 0 !important;
390+ }
391+
388392 & ul.nav-tabs {
389393 overflow-x: auto;
390394 overflow-y: hidden;
@@ -1211,7 +1215,10 @@ def render_selected_tab(self):
12111215 return
12121216
12131217 with gui .styled (OUTPUT_TABS_CSS ):
1214- input_col , output_col = gui .columns ([3 , 2 ], gap = "medium" )
1218+ input_col , output_col = gui .columns (
1219+ [3 , 2 ],
1220+ gap = "medium" ,
1221+ )
12151222 with input_col :
12161223 submitted = self ._render_input_col ()
12171224 with output_col :
@@ -2550,10 +2557,21 @@ class TitleValidationError(Exception):
25502557 margin: -1rem 0 1rem 0;
25512558 padding-top: 1rem;
25522559 }
2560+
2561+ /* reset col padding in mobile */
2562+ & > div {
2563+ padding: 0;
2564+ }
2565+
25532566 @media (min-width: 768px) {
25542567 & {
25552568 background-color: #f9f9f9;
25562569 }
2570+ /* set col padding in mobile */
2571+ & > div {
2572+ padding-left: calc(var(--bs-gutter-x) * .5);
2573+ padding-right: calc(var(--bs-gutter-x) * .5);
2574+ }
25572575 }
25582576
25592577"""
Original file line number Diff line number Diff line change @@ -839,7 +839,7 @@ class RecipeTabs(TabData, Enum):
839839 route = preview_route ,
840840 )
841841 run = TabData (
842- title = f"{ icons .run } Run" ,
842+ title = f"<span id='run-tab'> { icons .run } Run</span> " ,
843843 label = "" ,
844844 route = recipe_or_handle_or_static ,
845845 )
You can’t perform that action at this time.
0 commit comments