Skip to content

Commit

Permalink
Fix a bug where text sometime hangs off screen
Browse files Browse the repository at this point in the history
  • Loading branch information
MKorostoff committed Mar 8, 2021
1 parent 4b30afa commit de6a9a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="Wealth inequality in the United States is out of control. Here we visualize the issue in a unique way." />
<meta property="og:image" content="https://mkorostoff.github.io/1-pixel-wealth/img/off-the-chart.png" />

<link rel="stylesheet" type="text/css" href="main.css?version=1.7">
<link rel="stylesheet" type="text/css" href="main.css?version=1.8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
</head>
<body>
Expand Down Expand Up @@ -644,6 +644,6 @@ <h2 class="title what-could-we-do">We cannot accept this level of inequality any
<a class="about-this" target="_blank" href="https://github.com/MKorostoff/1-pixel-wealth/blob/master/README.md">About this page</a>

</div>
<script type="text/javascript" src="main.js?version=1.7"></script>
<script type="text/javascript" src="main.js?version=1.8"></script>
</body>
</html>
5 changes: 5 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,11 @@ h1 {
.all-of-them .title {
width: 370px;
}
@media (max-width: 450px) {
.all-of-them .title {
width: 340px;
}
}
.instructions {
transition: opacity 300ms;
margin-top: 40px;
Expand Down

0 comments on commit de6a9a7

Please sign in to comment.