Skip to content

Commit

Permalink
Merge pull request #73 from perimetre/5.2.2
Browse files Browse the repository at this point in the history
5.2.2
  • Loading branch information
dgonzalez-perimetre authored Jul 5, 2022
2 parents b102781 + 18f0248 commit 268e038
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [5.2.2] 2022-07-05

### Fixed

- Add cursor-col-resize to the tailwind safelist
- Add full height classes to the right reziseable column

## [5.2.1] 2022-07-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@perimetre/ui",
"description": "A component library made by @perimetre",
"version": "5.2.1",
"version": "5.2.2",
"repository": {
"type": "git",
"url": "git+https://github.com/perimetre/ui.git"
Expand Down
2 changes: 1 addition & 1 deletion src/components/HorizontalResizeablePanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const HorizontalResizeablePanel: React.FC<HorizontalResizeablePanelProps>
<div {...props} className={classNames('relative h-full w-full', props.className)} ref={ref}>
{resizeLeft && (
<button
className="absolute inset-y-0 w-2 cursor-col-resize"
className="absolute h-full inset-y-0 w-2 cursor-col-resize"
style={{ left: '-4px' }}
onMouseDown={(e) => onMove(e, 'left')}
/>
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,css}', './.storybook/**/*.{js,ts,jsx,tsx,css}'],
presets: [require('./src/presets/default-preset')]
presets: [require('./src/presets/default-preset')],
safelist: ['cursor-col-resize']
};

0 comments on commit 268e038

Please sign in to comment.