misc tweaks

This commit is contained in:
TreetopFlyer 2022-04-28 11:32:48 -04:00
parent d4bbc49260
commit d54da92dd3

6
app.js
View File

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