Skip to content

Commit

Permalink
adjust the pdf button position
Browse files Browse the repository at this point in the history
  • Loading branch information
SutarPrasad committed Aug 10, 2023
1 parent 302df95 commit 98d9784
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/MultiSiteLineChart/MultiSiteLineChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class MultiSiteLineChart extends React.Component {
<div id="chart-container">
<Plot data={plotData} layout={layout} />
</div>
<div className={styles.downloadContainer}>
<div className={`${styles.downloadContainer} ${styles.smallButtonPosition}`}>
<Button
size="small"
variant="contained"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@

.downloadContainer {
position: absolute;
bottom: 10px;
right: 10px;
bottom: 5px;
right: 0px;
display: flex;
align-items: center;
}

.smallButtonPosition {
font-size: 12px;
padding: 0px 8px;
}

.downloadIcon {
margin-right: 5px;
}

0 comments on commit 98d9784

Please sign in to comment.