-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add
containerCssClass
to RowMove to fix cell styling issue wit…
…h icons (#865) * fix: add `cellContainerCssClass` to fix cell styling issue with icons - prior to this PR we only had a `cssClass` option but that was adding the CSS classes directly on the `.slick-cell` container and this was maybe ok before we added SlickGrid icons (SVG) but it's causing issue now as per attached printscreens. To address this, let's add a `cellContainerCssClass` that will keep "cell-reorder dnd" CSS classes on the cell container, but let's use the `cssClass` as a new <div> inside the slick-cell container, so this way our icon is separate from the container and won't affect/conflict with its styling * chore: rename to simpler `containerCssClass` option ---------
- Loading branch information
1 parent
fa1ef52
commit 5abad6d
Showing
8 changed files
with
32 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export interface FormatterResultObject { | ||
/** Optional CSS classes to add to the cell div */ | ||
/** Optional CSS classes to add to the cell div container. */ | ||
addClasses?: string; | ||
|
||
/** Optional CSS classes to remove from the cell div */ | ||
/** Optional CSS classes to remove from the cell div container. */ | ||
removeClasses?: string; | ||
|
||
/** Text to be displayed in the cell, basically the formatter output */ | ||
/** Text to be displayed in the cell, basically the formatter output. */ | ||
text: string; | ||
|
||
/** Optional tooltip text */ | ||
/** Optional tooltip text when hovering the cell div container. */ | ||
toolTip?: string; | ||
} |
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