Merge commit 'refs/pull/35/head' of https://github.com/drawdb-io/drawdb

This commit is contained in:
1ilit 2024-04-14 09:59:25 +03:00
commit 2ac0f047a1
3 changed files with 6 additions and 9 deletions

View File

@ -100,8 +100,7 @@ export default function Table(props) {
size="small"
theme="solid"
style={{
backgroundColor: "#2f68ad",
opacity: "0.7",
backgroundColor: "#2f68adb3",
marginRight: "6px",
}}
onClick={openEditor}
@ -176,8 +175,7 @@ export default function Table(props) {
type="tertiary"
size="small"
style={{
opacity: "0.7",
backgroundColor: "grey",
backgroundColor: "#808080b3",
color: "white",
}}
/>
@ -290,7 +288,7 @@ export default function Table(props) {
} flex items-center gap-2 overflow-hidden`}
>
<button
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68ad] opacity-80 z-50 rounded-full"
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68adcc] rounded-full"
onMouseDown={() => {
handleGripField(index);
setLinkingLine((prev) => ({
@ -324,8 +322,7 @@ export default function Table(props) {
theme="solid"
size="small"
style={{
opacity: "0.7",
backgroundColor: "#d42020",
backgroundColor: "#d42020b3",
}}
icon={<IconMinus />}
onClick={() => deleteField(fieldData, tableData.id)}

View File

@ -51,7 +51,7 @@ function Table({ table, grab }) {
>
<div className={hoveredField === i ? "text-zinc-500" : ""}>
<button
className={`w-[9px] h-[9px] bg-[#2f68ad] opacity-80 z-50 rounded-full me-2`}
className={`w-[9px] h-[9px] bg-[#2f68adcc] rounded-full me-2`}
/>
{e.name}
</div>

View File

@ -116,7 +116,7 @@ export default function Thumbnail({ diagram, i, zoom, theme }) {
>
<div className="flex items-center justify-start">
<div
className={`w-[6px] h-[6px] bg-[#2f68ad] opacity-80 z-50 rounded-full me-2`}
className={`w-[6px] h-[6px] bg-[#2f68adcc] rounded-full me-2`}
></div>
<div>{f.name}</div>
</div>