-
-
Notifications
You must be signed in to change notification settings - Fork 18
Fixes #1452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #1452
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -317,7 +317,7 @@ export class TablesDataSource implements DataSource<Object> { | |
| getActionsColumnWidth(actions, permissions) { | ||
| const defaultActionsCount = permissions.edit + permissions.add + (!!permissions.delete && !!this.canDelete); | ||
| const totalActionsCount = actions.length + defaultActionsCount; | ||
| const lengthValue = ((totalActionsCount * 36) + 32); | ||
| const lengthValue = ((totalActionsCount * 30) + 32); | ||
|
||
| return totalActionsCount === 0 ? '0' : `${lengthValue}px` | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
padding-bottomproperty is declared here but then immediately overridden by thepaddingshorthand property on line 121. Thepadding-bottom: 24pxwill have no effect. Consider removing this redundant line or combining both into a singlepaddingdeclaration likepadding: 0 24px 24px 24pxif bottom padding is needed.