Skip to content

Commit

Permalink
[IMP] web: fix measure button height issue
Browse files Browse the repository at this point in the history
Before this commit `Measure` button in pivot and graph view
was small compare to other buttons in control panel because
flex class on left button control panel and pivot/graph view
has two button groups in their left button control panel and
flex class is only applied on first button group.

This commit add style for pivot & graph view to display then in
block to fix that issue in stable and we will move those two
button group in single div in master to apply flex class on
both button groups.

task-3187910

closes odoo#114284

Signed-off-by: Adrien Dieudonné (adr) <[email protected]>
  • Loading branch information
kcv-odoo committed Apr 12, 2023
1 parent 9a5557f commit 6a18598
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addons/web/static/src/views/graph/graph_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
background-color: $o-view-background-color;
}

.o_graph_view {
.o_cp_bottom_left {
display: block;
}
}

// ------- Sample mode -------
.o_graph_view .o_view_sample_data {
.o_graph_renderer {
Expand Down
6 changes: 6 additions & 0 deletions addons/web/static/src/views/pivot/pivot_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
}
}

.o_pivot_view {
.o_cp_bottom_left {
display: block;
}
}

// ------- Sample mode -------
.o_pivot_view .o_view_sample_data {
table {
Expand Down

0 comments on commit 6a18598

Please sign in to comment.