Remove dark theme exclusive inset shadow from FloatingArrow (#2257)

This commit is contained in:
Matthias Metelka 2022-12-11 02:18:59 +01:00 committed by GitHub
parent f38c4e2ff9
commit 2179f9e133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,7 @@
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import { pageTheme } from "../sveltelib/theme";
</script>
<div class="arrow" class:dark={$pageTheme.isDark} />
<div class="arrow" />
<style lang="scss">
@use "sass/elevation" as elevation;
@ -23,9 +19,5 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
/* Rotate the box to indicate the different directions */
border-right: none;
border-bottom: none;
&.dark {
box-shadow: inset 1px 1px 0 0 #565656;
}
}
</style>