mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
disable single attribute per line
This commit is contained in:
parent
92ed8e20c9
commit
8b141d652c
154 changed files with 390 additions and 1800 deletions
|
|
@ -17,10 +17,7 @@ export const LeftSidebar = ({ isResizing, startResizing }: LeftSidebarProps) =>
|
|||
const { collapsed } = useSidebarStore();
|
||||
|
||||
return (
|
||||
<aside
|
||||
className={styles.container}
|
||||
id="sidebar"
|
||||
>
|
||||
<aside className={styles.container} id="sidebar">
|
||||
<ResizeHandle
|
||||
isResizing={isResizing}
|
||||
onMouseDown={(e) => {
|
||||
|
|
|
|||
|
|
@ -109,10 +109,7 @@ export const MainContent = ({ shell }: { shell?: boolean }) => {
|
|||
{showQueueDrawerButton && <SideDrawerQueue />}
|
||||
</Suspense>
|
||||
<FullScreenOverlay />
|
||||
<LeftSidebar
|
||||
isResizing={isResizing}
|
||||
startResizing={startResizing}
|
||||
/>
|
||||
<LeftSidebar isResizing={isResizing} startResizing={startResizing} />
|
||||
<RightSidebar
|
||||
isResizing={isResizingRight}
|
||||
ref={rightSidebarRef}
|
||||
|
|
|
|||
|
|
@ -83,12 +83,7 @@ export const RightSidebar = forwardRef(
|
|||
const showSideQueue = rightExpanded && location.pathname !== AppRoute.NOW_PLAYING;
|
||||
|
||||
return (
|
||||
<AnimatePresence
|
||||
initial={false}
|
||||
key="queue-sidebar"
|
||||
mode="sync"
|
||||
presenceAffectsLayout
|
||||
>
|
||||
<AnimatePresence initial={false} key="queue-sidebar" mode="sync" presenceAffectsLayout>
|
||||
{showSideQueue && (
|
||||
<>
|
||||
{sideQueueType === 'sideQueue' ? (
|
||||
|
|
|
|||
|
|
@ -81,10 +81,7 @@ export const SideDrawerQueue = () => {
|
|||
!rightExpanded && !drawer && location.pathname !== AppRoute.NOW_PLAYING;
|
||||
|
||||
return (
|
||||
<AnimatePresence
|
||||
initial={false}
|
||||
mode="wait"
|
||||
>
|
||||
<AnimatePresence initial={false} mode="wait">
|
||||
{isQueueDrawerButtonVisible && (
|
||||
<motion.div
|
||||
animate="visible"
|
||||
|
|
@ -97,10 +94,7 @@ export const SideDrawerQueue = () => {
|
|||
variants={queueDrawerButtonVariants}
|
||||
whileHover={{ opacity: 1, scale: 2, transition: { duration: 0.5 } }}
|
||||
>
|
||||
<Icon
|
||||
icon="arrowLeftToLine"
|
||||
size="lg"
|
||||
/>
|
||||
<Icon icon="arrowLeftToLine" size="lg" />
|
||||
</motion.div>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,27 +40,14 @@ const WindowsControls = ({ controls, title }: WindowBarControlsProps) => {
|
|||
return (
|
||||
<div className={styles.windowsContainer}>
|
||||
<div className={styles.playerStatusContainer}>
|
||||
<img
|
||||
alt=""
|
||||
height={18}
|
||||
src={appIcon}
|
||||
width={18}
|
||||
/>
|
||||
<img alt="" height={18} src={appIcon} width={18} />
|
||||
<Text>{title}</Text>
|
||||
</div>
|
||||
<div className={styles.windowsButtonGroup}>
|
||||
<div
|
||||
className={styles.windowsButton}
|
||||
onClick={handleMinimize}
|
||||
role="button"
|
||||
>
|
||||
<div className={styles.windowsButton} onClick={handleMinimize} role="button">
|
||||
<RiSubtractLine size={19} />
|
||||
</div>
|
||||
<div
|
||||
className={styles.windowsButton}
|
||||
onClick={handleMaximize}
|
||||
role="button"
|
||||
>
|
||||
<div className={styles.windowsButton} onClick={handleMaximize} role="button">
|
||||
<RiCheckboxBlankLine size={13} />
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue