Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Add tooltip max width (#44)
Browse files Browse the repository at this point in the history
* Update Turbo config to use new key for env variables.

* Add max-width to Tooltip component.
  • Loading branch information
colinhemphill authored Oct 2, 2022
1 parent 97dc875 commit 398127e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 13 additions & 3 deletions packages/strum-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.2] - 2022-08-23
## [1.1.3] - 2022-10-02

## Changed

- Dependency upgrades

## Fixed

- Include a `max-width` on Tooltips for long text

## [1.1.2] - 2022-09-23

## Fixed

- Corrected the border widths on base `<Alert />` component

## [1.1.1] - 2022-08-19
## [1.1.1] - 2022-09-19

## Fixed

- `onChange` prop not being correctly passed through to `<RadioGroup />` primitive

## [1.1.0] - 2022-08-19
## [1.1.0] - 2022-09-19

## Added

Expand Down
1 change: 1 addition & 0 deletions packages/strum-react/src/components/Tooltip/Tooltip.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const tooltipContentRecipe = recipe({
paddingY: '2',
}),
{
maxWidth: '16rem',
userSelect: 'none',

...motionSafe({
Expand Down

1 comment on commit 398127e

@vercel
Copy link

@vercel vercel bot commented on 398127e Oct 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.