Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ui): kill style={``} (#2834)

Fake-User9f48d11be335
diff --git a/js/app/packages/block-md/component/TableInsert.tsx b/js/app/packages/block-md/component/TableInsert.tsx
index 9f77f75681..8d062cd18a 100644
--- a/js/app/packages/block-md/component/TableInsert.tsx
+++ b/js/app/packages/block-md/component/TableInsert.tsx
@@ -87,7 +87,10 @@ const TableGrid = ({
<Portal>
<div
class="fixed bg-dialog text-ink text-xs px-2 py-1 rounded pointer-events-none"
- style={`left: ${cursorPos().x + 10}px; top: ${cursorPos().y + 10}px;`}
+ style={{
+ left: `${cursorPos().x + 10}px`,
+ top: `${cursorPos().y + 10}px;`,
+ }}
>
{hoverPosition().row + 1} × {hoverPosition().col + 1}
</div>
diff --git a/js/app/packages/core/component/Slider.tsx b/js/app/packages/core/component/Slider.tsx
index 854491bb3b..a2699eac7d 100644
--- a/js/app/packages/core/component/Slider.tsx
+++ b/js/app/packages/core/component/Slider.tsx
@@ -128,7 +128,7 @@ export function DebugSlider(props: SliderProps) {
{/* Fill */}
<div
class="absolute inset-y-0 left-0 bg-accent pointer-events-none"
- style={`width: ${percentage()}%`}
+ style={{ width: `${percentage()}%` }}
/>
</div>
diff --git a/js/app/packages/core/internal/PixelArtIconDemo.tsx b/js/app/packages/core/internal/PixelArtIconDemo.tsx
index 57a835660b..7e99419eab 100644
--- a/js/app/packages/core/internal/PixelArtIconDemo.tsx
+++ b/js/app/packages/core/internal/PixelArtIconDemo.tsx
@@ -816,7 +816,7 @@ function GlyphEditor(props: GlyphEditorProps) {
<div class="flex flex-col items-center gap-6">
<div
class="relative border border-edge"
- style={`width: 280px; height: 280px;`}
+ style="width: 280px; height: 280px;"
>
<svg
viewBox={`0 0 280 280`}
diff --git a/js/app/packages/ui/components/BrightJoins.tsx b/js/app/packages/ui/components/BrightJoins.tsx
index af78be5402..a3a2c05fbf 100644
--- a/js/app/packages/ui/components/BrightJoins.tsx
+++ b/js/app/packages/ui/components/BrightJoins.tsx
@@ -79,7 +79,9 @@ export function BrightJoinsProgressMeter(props: {
'-top-px left-[2px] absolute bg-gradient-to-r from-edge to-ink w-[calc(var(--onboarding-progress)-4px)] h-px transition-[width] duration-1000',
props.class
)}
- style={`--onboarding-progress: ${props.progress}%`}
+ style={{
+ '--onboarding-progress': `${props.progress}%`,
+ }}
></div>
);
}