Skip to content

Commit

Permalink
fix(height): fast fix to handle hight in safari and firefox
Browse files Browse the repository at this point in the history
buttons to handle forms aren't visible
  • Loading branch information
Francisco Moreno Cantero committed Jun 18, 2020
1 parent 4208fa3 commit 0d33021
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
src: url(fonts/AmalfiCoast.ttf)
format('truetype');
}
.example::-webkit-scrollbar {
.body::-webkit-scrollbar {
display: none;
}
</style>
<body class="example">
<body class="body">
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
Expand All @@ -55,9 +55,8 @@
<h1>Upss something went wrong :(</h1>
<h2>It seems your browser has Javascript disabled, enable it and reload please</h2>
</noscript>
<div id="app" style="height: 100vh;"></div>
<div id="app" style="height: 100%;"></div>

<script src="./service-worker.js"></script>
<script src="./bundle.js"></script>
</body>

Expand Down
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const DetailArea = Styled.div`
${Media.lessThan('medium')`
margin-bottom: 10px;
margin-top: 10px;
padding-bottom: 100px;
`}
`;

Expand Down

0 comments on commit 0d33021

Please sign in to comment.