Skip to content

Commit

Permalink
border-divider Tailwind hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyBernier committed Dec 21, 2023
1 parent 390041e commit 5de83c4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
12 changes: 6 additions & 6 deletions react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.9",
"style-loader": "^3.3.3",
"tailwindcss": "^3.3.6",
"tailwindcss": "^3.4.0",
"tailwindcss-themer": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
Expand Down Expand Up @@ -92,4 +92,4 @@
"watch": "^0.13.0",
"zustand": "^4.4.7"
}
}
}
2 changes: 1 addition & 1 deletion react/src/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type CanvasInnerProps = {
export const CanvasInner = ({ canvasData, dataHash }: CanvasInnerProps) => {
const { elementOrder, elements } = canvasData;
return (
<div className="flex flex-1 flex-col gap-4 overflow-y-auto">
<div className="canvas-container flex flex-1 flex-col gap-4 overflow-y-auto">
<Filters canvasData={canvasData} />
<section className="mt-5 flex flex-col gap-8">
{elementOrder.element_order.map((elementIds, index) => (
Expand Down
6 changes: 6 additions & 0 deletions react/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ body {

overscroll-behavior-x: contain;
}

.canvas-container {
.border-divider {
border-color: rgba(var(--colors-divider), var(--tw-border-opacity));
}
}

0 comments on commit 5de83c4

Please sign in to comment.