chore: adjust sidebar toggle button position
This commit is contained in:
parent
2cd1ae481b
commit
8aca9efe68
1 changed files with 4 additions and 2 deletions
|
|
@ -67,8 +67,10 @@ export default function PrimaryPageSidebar() {
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
className={cn(
|
className={cn(
|
||||||
'absolute flex flex-col justify-center items-center right-0 w-5 h-6 p-0 rounded-l-md hover:shadow-md text-muted-foreground hover:text-foreground hover:bg-background transition-colors [&_svg]:size-4',
|
'absolute flex flex-col justify-center items-center w-5 h-6 p-0 rounded-l-md hover:shadow-md text-muted-foreground hover:text-foreground hover:bg-background transition-colors [&_svg]:size-4',
|
||||||
themeSetting === 'pure-black' || enableSingleColumnLayout ? 'top-3' : 'top-5'
|
themeSetting === 'pure-black' || enableSingleColumnLayout
|
||||||
|
? 'top-3 right-0'
|
||||||
|
: 'top-5 -right-0.5'
|
||||||
)}
|
)}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue