Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions client/app/components/dashboards/dashboard-grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
> .visualization-renderer-wrapper {
flex-grow: 1;
position: relative;
height: 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try just this fix - for me it worked without others (also, I tried in Chrome a minute ago - it was fine too). If it works - let's not touch other styles.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only works in connection with this other change for me: https://github.com/getredash/redash/pull/5236/files#diff-4e9dd1634afb5937186e1247809856826568d835e2167e33be776e08ae6ffc94L6

Everything else we could get rid of though

}

> .filters-wrapper {
Expand All @@ -113,19 +114,15 @@
overflow: hidden;
}

.counter-visualization-container {
height: 100%;

.counter-visualization-content {
position: absolute;
left: 10px;
top: 15px;
right: 10px;
bottom: 15px;
height: auto;
overflow: hidden;
padding: 0;
}
.counter-visualization-content {
position: absolute;
left: 10px;
top: 15px;
right: 10px;
bottom: 15px;
height: auto;
overflow: hidden;
padding: 0;
}
}

Expand Down
1 change: 0 additions & 1 deletion viz-lib/src/visualizations/counter/render.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
text-align: center;
padding: 15px 10px;
overflow: hidden;
position: relative;

.counter-visualization-content {
margin: 0;
Expand Down