Fix sidebar stealing clicks

This commit is contained in:
James Lyne 2020-12-12 19:06:25 +00:00
parent f45dcd4ae8
commit 90dc6070c7
2 changed files with 10 additions and 20 deletions

View File

@ -57,6 +57,13 @@ export default defineComponent({
padding: 1rem;
width: 23rem;
will-change: transform;
pointer-events: none;
ul, ol, li {
padding: 0;
list-style: none;
margin: 0;
}
.sidebar__buttons {
display: flex;
@ -64,6 +71,7 @@ export default defineComponent({
align-items: center;
justify-content: flex-end;
margin-bottom: 1rem;
pointer-events: auto;
button {
width: 5rem;
@ -91,6 +99,7 @@ export default defineComponent({
flex: 0 1 auto;
min-height: 15vh;
margin-bottom: 1rem;
pointer-events: auto;
&:last-child {
margin-bottom: 0;

View File

@ -127,26 +127,7 @@ button {
padding: 8px;
}
/*******************
* shared rules
*/
.dynmap ul, .dynmap li {
list-style: none;
padding: 0;
margin: 0;
}
.maplist li a,
.playerlist li a {
outline: none;
text-decoration: none;
}
.alertbox,
.largeclock {
.alertbox {
border-style: solid;
border-width: 0 1px 1px 1px;