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

View File

@ -127,26 +127,7 @@ button {
padding: 8px; padding: 8px;
} }
.alertbox {
/*******************
* 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 {
border-style: solid; border-style: solid;
border-width: 0 1px 1px 1px; border-width: 0 1px 1px 1px;