Skip to content

Commit ff57510

Browse files
committed
fixed horizontal scroll on open-source page
1 parent 32b3432 commit ff57510

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/containers/opensourceCharts/OpensourceCharts.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
display: table-cell;
2020
} */
2121

22+
/* To remove horizontal scroll */
23+
.main-div {
24+
width: 90%;
25+
margin: 0 auto;
26+
}
27+
2228
@media (max-width: 1380px) {
2329
.os-charts-header {
2430
font-size: 35px;

src/containers/opensourceCharts/OpensourceCharts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class OpensourceCharts extends Component {
88
render() {
99
const theme = this.props.theme;
1010
return (
11-
<div>
11+
<div className="main-div">
1212
<div className="os-charts-header-div">
1313
<Fade bottom duration={2000} distance="20px">
1414
<h1 className="os-charts-header" style={{ color: theme.text }}>

0 commit comments

Comments
 (0)