Skip to content

Commit 964bffa

Browse files
authored
Merge pull request #358 from amorea04/hotfix/bug_in_webapp_display_for_classification
fix web app display bug
2 parents 3be048f + d11350b commit 964bffa

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

shapash/webapp/smart_app.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -440,25 +440,27 @@ def make_skeleton(self):
440440
),
441441
href="https://github.com/MAIF/shapash", target="_blank",
442442
),
443-
md=4, align="center"
443+
md=3, align="center"
444444
),
445445
dbc.Col([
446446
html.A(
447447
dbc.Row([
448448
html.H3(truncate_str(self.explainer.title_story, maxlen=40),
449-
id="shapash_title_story")]
449+
id="shapash_title_story", style={'text-align':'center'})]
450450
),
451451
href="https://github.com/MAIF/shapash", target="_blank",
452452
)],
453-
md=4, align="center"
453+
md=3, align="center"
454454
),
455-
dbc.Col([self.components['menu']]
455+
dbc.Col([
456+
self.components['menu']
457+
], align="end"
456458
)
457459
],
458-
style={'padding': "5px 15px", "verticalAlign": "middle"},
460+
style={'padding': "5px 15px", "verticalAlign": "middle", "width":"auto", "justify":"end"}
459461
)
460462
],
461-
fluid=True, style={'height': '50px', 'backgroundColor': self.bkg_color},
463+
fluid=True, style={'height': '70px', 'backgroundColor': self.bkg_color}
462464
)
463465

464466
self.skeleton['body'] = dbc.Container(

0 commit comments

Comments
 (0)