Skip to content

Commit

Permalink
fix(variables): select column dropdown placement changes (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
duartecsoares authored Sep 17, 2024
1 parent e94e500 commit acd2189
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@ select.multiple{
padding: 1em;
}

/* specific styles */

.dropdown-variables {
float: left;
margin: 24px 0 8px 12px;
}

/* not printing tabs */
@media print {
.tab-content > .tab-pane, .collapse {
Expand Down
4 changes: 2 additions & 2 deletions src/ydata_profiling/report/structure/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def get_report_structure(config: Settings, summary: BaseDescription) -> Root:
name="Variables",
anchor_id="variables-dropdown",
id="variables-dropdown",
is_row=True,
classes=["dropdown-toggle"],
is_row=False,
classes=["dropdown-toggle", "dropdown-variables"],
items=list(summary.variables),
item=Container(
render_variables_section(config, summary),
Expand Down

0 comments on commit acd2189

Please sign in to comment.