Skip to content

Commit 9e224a5

Browse files
authored
Spacing of plugin (#149)
* made plugin taller * reduced size of warnings slightly
1 parent 2886e64 commit 9e224a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/plugin/plugin-src/code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const safeRun = (settings: PluginSettings) => {
7676
};
7777

7878
const standardMode = async () => {
79-
figma.showUI(__html__, { width: 450, height: 550, themeColors: true });
79+
figma.showUI(__html__, { width: 450, height: 700, themeColors: true });
8080
await initSettings();
8181

8282
// Listen for selection changes

packages/plugin-ui/src/PluginUI.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ export const PluginUI = (props: PluginUIProps) => {
6767
/>
6868
)}
6969
{warnings.length > 0 && (
70-
<div className="flex flex-col bg-yellow-400 text-black dark:bg-yellow-500 dark:text-black p-4 w-full">
70+
<div className="flex flex-col bg-yellow-400 text-black dark:bg-yellow-500 dark:text-black p-3 w-full">
7171
<div className="flex flex-row gap-1">
72-
<div style={{ transform: "translate(2px, 2px) scale(80%)" }}>
72+
<div style={{ transform: "translate(2px, 0px) scale(80%)" }}>
7373
<WarningIcon />
7474
</div>
75-
<h3 className="text-lg font-bold">Warnings:</h3>
75+
<h3 className="text-base font-bold">Warnings:</h3>
7676
</div>
7777
<ul className="list-disc pl-6">
7878
{warnings.map((message: string) => (
7979
<li className="list-item">
80-
<em className="italic">{message}</em>
80+
<em className="italic text-sm">{message}</em>
8181
</li>
8282
))}
8383
</ul>

0 commit comments

Comments
 (0)