Fix unused CSS selector issue in graphs introduced by updating Svelte

This commit is contained in:
Henrik Giesel 2021-05-06 23:49:59 +02:00
parent 15f306950d
commit f50d81f787
2 changed files with 76 additions and 76 deletions

View file

@ -61,12 +61,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<ClozeButton /> <ClozeButton />
</ButtonGroupItem> </ButtonGroupItem>
<WithDropdownMenu let:menuId let:createDropdown>
<ButtonGroupItem> <ButtonGroupItem>
<WithDropdownMenu let:menuId let:createDropdown>
<IconButton on:mount={createDropdown}> <IconButton on:mount={createDropdown}>
{@html functionIcon} {@html functionIcon}
</IconButton> </IconButton>
</ButtonGroupItem>
<DropdownMenu id={menuId}> <DropdownMenu id={menuId}>
<WithShortcut <WithShortcut
@ -142,6 +141,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</WithShortcut> </WithShortcut>
</DropdownMenu> </DropdownMenu>
</WithDropdownMenu> </WithDropdownMenu>
</ButtonGroupItem>
<ButtonGroupItem> <ButtonGroupItem>
<WithShortcut <WithShortcut

View file

@ -7,13 +7,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
:global(rect) { :global(rect) {
fill: none; fill: none;
pointer-events: all; pointer-events: all;
}
&:hover { :global(rect:hover) {
fill: grey; fill: grey;
opacity: 0.05; opacity: 0.05;
} }
} }
}
</style> </style>
<g class="hover-columns" /> <g class="hover-columns" />