added sync indicator for q-apps

This commit is contained in:
2024-11-05 11:45:00 +02:00
parent 9b9facb711
commit 1b8137fe35
8 changed files with 55 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ import { Save } from "../Save/Save";
import { useRecoilState } from "recoil";
import { enabledDevModeAtom } from "../../atoms/global";
export const IconWrapper = ({ children, label, color, selected }) => {
export const IconWrapper = ({ children, label, color, selected, disableWidth }) => {
return (
<Box
sx={{
@@ -29,8 +29,8 @@ export const IconWrapper = ({ children, label, color, selected }) => {
alignItems: "center",
gap: "5px",
flexDirection: "column",
height: "89px",
width: "89px",
height: disableWidth ? 'auto' : "89px",
width: disableWidth ? 'auto' : "89px",
borderRadius: "50%",
backgroundColor: selected ? "rgba(28, 29, 32, 1)" : "transparent",
}}