Skip to content

Commit

Permalink
fix: add dropdown background (cuixueshe#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
nullcache authored Mar 30, 2024
1 parent 31c2475 commit 8d8684f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/client/components/main/Contents/Contents.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
id="contents"
class="absolute top-24 left-0 w-56 z-10 border-l-4 border-fuchsia-500 pl-2 select-none"
class="absolute top-24 left-0 w-56 z-10 border-l-4 border-fuchsia-500 pl-2 select-none bg-white dark:bg-slate-800 shadow p-2"
:class="[isShowContents() && 'show']"
v-bind="containerProps"
>
Expand Down Expand Up @@ -63,7 +63,6 @@ onMounted(async () => {
scrollTo(coursesStore.statementIndex);
watchClickOutside(containerProps.ref.value!);
});
</script>

<style scoped>
Expand Down

0 comments on commit 8d8684f

Please sign in to comment.