Compare commits
1 Commits
test-updat
...
ui/reduce-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30edcacce5 |
@@ -10,6 +10,10 @@ div.sidebar-section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
& > div.content {
|
& > div.content {
|
||||||
@apply w-full h-full px-1.5 py-3 rounded-md bg-inv-4;
|
@apply w-full h-full px-1.5 py-3 rounded-md bg-inv-4 opacity-60;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.editing > div.content {
|
||||||
|
@apply opacity-100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import "./SidebarSection.css";
|
|||||||
import { Typography } from "@/src/components/Typography/Typography";
|
import { Typography } from "@/src/components/Typography/Typography";
|
||||||
import { Button as KButton } from "@kobalte/core/button";
|
import { Button as KButton } from "@kobalte/core/button";
|
||||||
import Icon from "../Icon/Icon";
|
import Icon from "../Icon/Icon";
|
||||||
|
import cx from "classnames";
|
||||||
|
|
||||||
export interface SidebarSectionProps {
|
export interface SidebarSectionProps {
|
||||||
title: string;
|
title: string;
|
||||||
@@ -20,7 +21,7 @@ export const SidebarSection = (props: SidebarSectionProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="sidebar-section">
|
<div class={cx("sidebar-section", { editing: editing() })}>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<Typography
|
<Typography
|
||||||
hierarchy="label"
|
hierarchy="label"
|
||||||
|
|||||||
Reference in New Issue
Block a user