Skip to content

Commit 1649d07

Browse files
authored
Merge pull request #35 from ClaPalo/Fix-field-circle-icons
Fixed field circle icons not moving in Safari
2 parents 7639dac + 9e18adf commit 1649d07

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

src/components/EditorCanvas/Table.jsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ export default function Table(props) {
100100
size="small"
101101
theme="solid"
102102
style={{
103-
backgroundColor: "#2f68ad",
104-
opacity: "0.7",
103+
backgroundColor: "#2f68adb3",
105104
marginRight: "6px",
106105
}}
107106
onClick={openEditor}
@@ -176,8 +175,7 @@ export default function Table(props) {
176175
type="tertiary"
177176
size="small"
178177
style={{
179-
opacity: "0.7",
180-
backgroundColor: "grey",
178+
backgroundColor: "#808080b3",
181179
color: "white",
182180
}}
183181
/>
@@ -290,7 +288,7 @@ export default function Table(props) {
290288
} flex items-center gap-2 overflow-hidden`}
291289
>
292290
<button
293-
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68ad] opacity-80 z-50 rounded-full"
291+
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68adcc] rounded-full"
294292
onMouseDown={() => {
295293
handleGripField(index);
296294
setLinkingLine((prev) => ({
@@ -324,8 +322,7 @@ export default function Table(props) {
324322
theme="solid"
325323
size="small"
326324
style={{
327-
opacity: "0.7",
328-
backgroundColor: "#d42020",
325+
backgroundColor: "#d42020b3",
329326
}}
330327
icon={<IconMinus />}
331328
onClick={() => deleteField(fieldData, tableData.id)}

src/components/SimpleCanvas.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Table({ table, grab }) {
5151
>
5252
<div className={hoveredField === i ? "text-zinc-500" : ""}>
5353
<button
54-
className={`w-[9px] h-[9px] bg-[#2f68ad] opacity-80 z-50 rounded-full me-2`}
54+
className={`w-[9px] h-[9px] bg-[#2f68adcc] rounded-full me-2`}
5555
/>
5656
{e.name}
5757
</div>

src/components/Thumbnail.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default function Thumbnail({ diagram, i, zoom, theme }) {
116116
>
117117
<div className="flex items-center justify-start">
118118
<div
119-
className={`w-[6px] h-[6px] bg-[#2f68ad] opacity-80 z-50 rounded-full me-2`}
119+
className={`w-[6px] h-[6px] bg-[#2f68adcc] rounded-full me-2`}
120120
></div>
121121
<div>{f.name}</div>
122122
</div>

0 commit comments

Comments
 (0)