Skip to content

Commit

Permalink
fix: sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ufaboy committed Jul 13, 2024
1 parent 21942de commit f633ec7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lib-vue",
"private": true,
"version": "1.10.3",
"version": "1.10.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/components/TheSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const bookID = computed(() => {

<aside
v-bind="$attrs"
class="fixed -left-60 top-0 z-20 h-full w-60 bg-white pt-14 shadow transition dark:bg-gray-900 dark:text-white lg:left-0 lg:pt-0"
class="fixed -left-60 top-0 z-20 h-full w-60 bg-white pt-14 shadow-md shadow-white transition dark:bg-gray-900 dark:text-white lg:left-0 lg:pt-0"
:class="{'translate-x-60': expanded}">
<ul
class="">
Expand Down
2 changes: 1 addition & 1 deletion src/views/BookText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ onBeforeUnmount(() => {
<template>
<main
id="bookText"
class="flex justify-center"
class="flex justify-center lg:w-[calc(100%_-_15rem)]"
:class="{ 'px-3': classicMode }"
@click="generalClickHandle">
<div
Expand Down

0 comments on commit f633ec7

Please sign in to comment.