Skip to content

Commit

Permalink
changed rotation speed
Browse files Browse the repository at this point in the history
tanmaylaud committed May 10, 2020
1 parent 4e2216f commit e0aa141
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ export default function App() {
if (windowDimensions.width <= 500) {
setDetails(null);
}
}, 2000);
}, 3000);
};

return (
16 changes: 9 additions & 7 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -38,14 +38,11 @@ body {
.details {
background: gainsboro;
opacity: 0.5;

position: absolute;
@media only screen and (min-device-width: 750px) {
top: 5em;
right: 1em;
padding: 12;
margin-top: 5em;
}
top: 5em;
right: 1em;
padding: 12;
margin-top: 5em;
}
.details p {
font-family: sans-serif;
@@ -78,6 +75,11 @@ body {
left: 0em;
width: 100%;
text-align: center;

top: unset;
right: unset;
padding: unset;
margin-top: unset;
}

.details p {

0 comments on commit e0aa141

Please sign in to comment.