-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): improve positioning of DataList actions [JOB-99926] (…
…#1915) * adjust size, spaing, and position of datalistactions * prefer bottom positioning for action tooltips * update Tooltip animations * change how datalistitemaction menu is positioned * adjustments * just a smidge of space * remove usage of OverflowFade from actions * remove some leftover styling * fix test * remove negative var * Fix prettier error in DataListBulkActions * use a nicer bulk test * fix import orders --------- Co-authored-by: Taylor Noj <taylor.n@getjobber.com> Co-authored-by: Taylor Noj <104797704+taylorvnoj@users.noreply.github.com>
- Loading branch information
1 parent
2d117b8
commit 68d7d77
Showing
7 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
packages/components/src/DataList/components/DataListItemActions/DataListItemActions.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
.menu { | ||
display: flex; | ||
position: absolute; | ||
top: calc(var(--space-small) * -1); | ||
top: -26px; | ||
right: 0; | ||
z-index: var(--elevation-menu); | ||
box-shadow: var(--shadow-base); | ||
padding: var(--space-smaller); | ||
border: var(--border-base) solid var(--color-border); | ||
border-radius: var(--radius-base); | ||
background-color: var(--color-surface); | ||
gap: var(--space-smaller); | ||
gap: var(--space-smallest); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters