mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
remove padding from sidebar visualizer
This commit is contained in:
@@ -45,7 +45,6 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: var(--theme-spacing-md);
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: var(--theme-colors-background);
|
background: var(--theme-colors-background);
|
||||||
background-color: var(--theme-colors-background-alternate);
|
background-color: var(--theme-colors-background-alternate);
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container .settings-icon {
|
.container .settings-icon {
|
||||||
|
z-index: 100;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,9 +229,9 @@ export const Visualizer = () => {
|
|||||||
iconProps={{ size: 'lg' }}
|
iconProps={{ size: 'lg' }}
|
||||||
onClick={openVisualizerSettingsModal}
|
onClick={openVisualizerSettingsModal}
|
||||||
pos="absolute"
|
pos="absolute"
|
||||||
right={0}
|
right="var(--theme-spacing-sm)"
|
||||||
top={0}
|
top="var(--theme-spacing-sm)"
|
||||||
variant="transparent"
|
variant="subtle"
|
||||||
/>
|
/>
|
||||||
<ComponentErrorBoundary>
|
<ComponentErrorBoundary>
|
||||||
<VisualizerInner />
|
<VisualizerInner />
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container .settings-icon {
|
.container .settings-icon {
|
||||||
|
z-index: 100;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s ease-in-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvas {
|
.canvas {
|
||||||
|
|||||||
@@ -306,16 +306,16 @@ const VisualizerInner = () => {
|
|||||||
|
|
||||||
export const Visualizer = () => {
|
export const Visualizer = () => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.container} style={{ position: 'relative' }}>
|
<div className={styles.container}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
className={styles.settingsIcon}
|
className={styles.settingsIcon}
|
||||||
icon="settings2"
|
icon="settings2"
|
||||||
iconProps={{ size: 'lg' }}
|
iconProps={{ size: 'lg' }}
|
||||||
onClick={openVisualizerSettingsModal}
|
onClick={openVisualizerSettingsModal}
|
||||||
pos="absolute"
|
pos="absolute"
|
||||||
right={0}
|
right="var(--theme-spacing-sm)"
|
||||||
top={0}
|
top="var(--theme-spacing-sm)"
|
||||||
variant="transparent"
|
variant="subtle"
|
||||||
/>
|
/>
|
||||||
<ComponentErrorBoundary>
|
<ComponentErrorBoundary>
|
||||||
<VisualizerInner />
|
<VisualizerInner />
|
||||||
|
|||||||
Reference in New Issue
Block a user