diff --git a/app.js b/app.js index 1a5fecf..eabec1f 100644 --- a/app.js +++ b/app.js @@ -60,7 +60,7 @@ const StyledRoot = styled.div` .Partition { - margin: 15px 0 0 0; + margin: 30px 0 0 0; padding: 0 0 8px 0; border-bottom: 1px solid #dddddd; text-align: center; @@ -133,11 +133,13 @@ const StyledRoot = styled.div` appearance: none; display: block; width: 100%; + max-width:150px; padding: 5px 10px 5px 10px; background: #0e2a3f; cursor: pointer; border: none; color: white; + font-family: sans-serif; font-size: 14px; font-weight: 600; transition: all 0.4s; @@ -335,7 +337,7 @@ const App = props => { SelectedSet(inItem.id); document.documentElement.style.scrollBehavior = "smooth"; - window.location = "#"+PlayerID; + setTimeout(()=>window.location = "#"+PlayerID, 450); }; return html`