Skip to content

Commit acd2189

Browse files
fix(variables): select column dropdown placement changes (ydataai#1629)
1 parent e94e500 commit acd2189

File tree

2 files changed

+9
-2
lines changed
  • src/ydata_profiling/report

2 files changed

+9
-2
lines changed

src/ydata_profiling/report/presentation/flavours/html/templates/wrapper/assets/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,13 @@ select.multiple{
303303
padding: 1em;
304304
}
305305

306+
/* specific styles */
307+
308+
.dropdown-variables {
309+
float: left;
310+
margin: 24px 0 8px 12px;
311+
}
312+
306313
/* not printing tabs */
307314
@media print {
308315
.tab-content > .tab-pane, .collapse {

src/ydata_profiling/report/structure/report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ def get_report_structure(config: Settings, summary: BaseDescription) -> Root:
380380
name="Variables",
381381
anchor_id="variables-dropdown",
382382
id="variables-dropdown",
383-
is_row=True,
384-
classes=["dropdown-toggle"],
383+
is_row=False,
384+
classes=["dropdown-toggle", "dropdown-variables"],
385385
items=list(summary.variables),
386386
item=Container(
387387
render_variables_section(config, summary),

0 commit comments

Comments
 (0)