mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03: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
|
|
@ -53,12 +53,7 @@ const PlaylistRowButton = ({ name, onPlay, to, ...props }: PlaylistRowButtonProp
|
|||
>
|
||||
{name}
|
||||
</SidebarItem>
|
||||
{isHovered && (
|
||||
<RowControls
|
||||
id={to}
|
||||
onPlay={onPlay}
|
||||
/>
|
||||
)}
|
||||
{isHovered && <RowControls id={to} onPlay={onPlay} />}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
@ -73,11 +68,7 @@ const RowControls = ({
|
|||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<Group
|
||||
className={styles.controls}
|
||||
gap="xs"
|
||||
wrap="nowrap"
|
||||
>
|
||||
<Group className={styles.controls} gap="xs" wrap="nowrap">
|
||||
<ActionIcon
|
||||
icon="mediaPlay"
|
||||
iconProps={{
|
||||
|
|
@ -205,15 +196,8 @@ export const SidebarPlaylistList = () => {
|
|||
|
||||
return (
|
||||
<Accordion.Item value="playlists">
|
||||
<Accordion.Control
|
||||
component="div"
|
||||
role="button"
|
||||
style={{ userSelect: 'none' }}
|
||||
>
|
||||
<Group
|
||||
justify="space-between"
|
||||
pr="var(--theme-spacing-md)"
|
||||
>
|
||||
<Accordion.Control component="div" role="button" style={{ userSelect: 'none' }}>
|
||||
<Group justify="space-between" pr="var(--theme-spacing-md)">
|
||||
<Text fw={600}>
|
||||
{t('page.sidebar.playlists', {
|
||||
postProcess: 'titleCase',
|
||||
|
|
@ -323,10 +307,7 @@ export const SidebarSharedPlaylistList = () => {
|
|||
return (
|
||||
<Accordion.Item value="shared-playlists">
|
||||
<Accordion.Control>
|
||||
<Text
|
||||
fw={600}
|
||||
variant="secondary"
|
||||
>
|
||||
<Text fw={600} variant="secondary">
|
||||
{t('page.sidebar.shared', {
|
||||
postProcess: 'titleCase',
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue