File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ def assets_path(name: str):
4747
4848my_theme = gr .Theme .load (f"{ assets_path ('' )} /themes/theme_schema@0.0.1.json" ).set (
4949 checkbox_label_background_fill = '#2196f3' ,
50- input_background_fill_focus = 'white' ,
50+ checkbox_label_background_fill_dark = '#2196f3' ,
51+ input_background_fill_focus = 'f1f5f9' ,
52+ input_background_fill_focus_dark = '334155' ,
5153)
5254
5355
@@ -123,7 +125,7 @@ def create_interface(api_key):
123125 demo .load (None , None , js = toggleTheme )
124126 with gr .Tabs (elem_id = "tabs" ):
125127 with gr .Tab (i18n ("Анализ" )):
126- with gr .Row (elem_id = "analyze-row" ):
128+ with gr .Row ():
127129 with gr .Column ():
128130 with gr .Row ():
129131 scale_selector = gr .Dropdown (
@@ -143,7 +145,7 @@ def create_interface(api_key):
143145 <img src="https://rybakov-k.ru/images/instruction.gif" alt="Instructions for setting the scale">
144146 """
145147 )
146- with gr .Row (equal_height = True ):
148+ with gr .Row (equal_height = True , elem_id = "analyze-row" ):
147149 with gr .Column (visible = False ) as Paint_row :
148150 im = gr .Paint (
149151 label = i18n ("Изображение СЭМ" ),
Original file line number Diff line number Diff line change 314314 display: none !important;
315315}
316316
317- #analyze-row, #button-row, # button-row, #example-row {
317+ #button-row, #example-row {
318318 margin-top: -10px; /* расстояние между строками */
319319}
320320#button-row {
You can’t perform that action at this time.
0 commit comments