Skip to content

Commit

Permalink
cleaner truss, snappier transition
Browse files Browse the repository at this point in the history
  • Loading branch information
bsholmes committed Jan 12, 2024
1 parent 13deb4d commit b2cc979
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Table/components/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ function RowImpl<R extends Kinded, S>(props: RowProps<R>): ReactElement {
const levelIndent = style.levels && style.levels[level]?.rowIndent;

const containerCss = {
...Css.add("transition", "padding 0.5s ease-in-out").$,
...(rs.isDraggedOver === DraggedOver.Above && Css.add("paddingTop", "35px").$),
...(rs.isDraggedOver === DraggedOver.Below && Css.add("paddingBottom", "35px").$),
...Css.add("transition", "padding 0.25s ease-in-out").$,
...(rs.isDraggedOver === DraggedOver.Above && Css.ptPx(35).$),
...(rs.isDraggedOver === DraggedOver.Below && Css.pbPx(35).$),
};

const rowCss = {
Expand Down

0 comments on commit b2cc979

Please sign in to comment.