Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 806e550

Browse files
committed
Fix VCD datagrid dropdown actions column width
When datagrid is empty or the columns are rendered before the grid is populated with data the width of the dropdown actions column is wider than expected Testing Done: Test in the VCD project (no way to test it in the components examples since the issue is a corner case) Bug Number: https://jira.eng.vmware.com/browse/VDU-8198
1 parent f96c981 commit 806e550

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

projects/components/CHANGELOG.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
- minor fix for datagrid dropdown actions column width in some corner cases when datagrid is empty or the columns are rendered before the grid is populated with data
910

1011
## [15.0.1-dev.3]
1112

projects/components/src/datagrid/datagrid.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ clr-dg-action-bar.top-action-bar {
5252

5353
.dropdown-actions {
5454
min-width: unset;
55-
width: 38px !important;
55+
max-width: 38px;
5656

5757
::ng-deep .nested-dropdown {
5858
padding: 0 0.6rem 0 0;

0 commit comments

Comments
 (0)