Removed infocard
This commit is contained in:
@@ -7,8 +7,7 @@ import {
|
|||||||
InfoLabel,
|
InfoLabel,
|
||||||
Spinner,
|
Spinner,
|
||||||
tokens,
|
tokens,
|
||||||
Card,
|
Card
|
||||||
Body1
|
|
||||||
} from "@fluentui/react-components";
|
} from "@fluentui/react-components";
|
||||||
import {
|
import {
|
||||||
ArrowFitInRegular,
|
ArrowFitInRegular,
|
||||||
@@ -57,21 +56,6 @@ const useStyles = makeStyles({
|
|||||||
backgroundColor: "#FDE7E9", // Light red background
|
backgroundColor: "#FDE7E9", // Light red background
|
||||||
color: "#A80000", // Red text
|
color: "#A80000", // Red text
|
||||||
},
|
},
|
||||||
infoCard: {
|
|
||||||
marginTop: "12px",
|
|
||||||
padding: "8px",
|
|
||||||
backgroundColor: "#f3f2f1", // Light gray background
|
|
||||||
borderRadius: "6px",
|
|
||||||
borderLeft: "3px solid #0078d4", // Brand blue color
|
|
||||||
},
|
|
||||||
infoIcon: {
|
|
||||||
marginRight: "8px",
|
|
||||||
color: "#0078d4", // Brand blue color
|
|
||||||
},
|
|
||||||
infoText: {
|
|
||||||
fontSize: "12px",
|
|
||||||
color: "#605e5c", // Medium gray text
|
|
||||||
},
|
|
||||||
statusIcon: {
|
statusIcon: {
|
||||||
marginRight: "8px",
|
marginRight: "8px",
|
||||||
},
|
},
|
||||||
@@ -165,7 +149,7 @@ export const ShapeResizer: React.FC = () => {
|
|||||||
icon={<ArrowFitInRegular />}
|
icon={<ArrowFitInRegular />}
|
||||||
disabled={isProcessing}
|
disabled={isProcessing}
|
||||||
>
|
>
|
||||||
Match Size to First Shape
|
Match Sizes
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -187,14 +171,6 @@ export const ShapeResizer: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className={styles.infoCard}>
|
|
||||||
<div style={{ display: "flex", alignItems: "center" }}>
|
|
||||||
<InfoRegular className={styles.infoIcon} />
|
|
||||||
<Body1 className={styles.infoText}>
|
|
||||||
Select multiple shapes, then click the button to resize all shapes to match the first one.
|
|
||||||
</Body1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user