Skip to content
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

feat(data-grid): allow data-grid to set height according to container #983

Merged
merged 14 commits into from
Jul 25, 2021

Conversation

YonatanKra
Copy link
Contributor

@YonatanKra YonatanKra commented Jul 22, 2021

Closes #966

I've removed the unit tests for layout as I've added a visual test.

@YonatanKra YonatanKra requested a review from gullerya July 22, 2021 15:36
@changeset-bot
Copy link

changeset-bot bot commented Jul 22, 2021

⚠️ No Changeset found

Latest commit: c6513f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link

🚀

Latest successful build of the PR deployed here.

🚀

Obsolete as we have a visual test
components/data-grid/src/vwc-data-grid.scss Outdated Show resolved Hide resolved
components/data-grid/src/vwc-data-grid.scss Outdated Show resolved Hide resolved
components/data-grid/readme.md Outdated Show resolved Hide resolved
yinonov
yinonov previously approved these changes Jul 25, 2021
yinonov
yinonov previously approved these changes Jul 25, 2021
min-width: 200px;
height: 320px;
min-height: 150px;
display: block;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
display: block;

@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@YonatanKra YonatanKra changed the title feat(data-grid): expose height and width as css variables feat(data-grid): allow data-grid to set height according to container Jul 25, 2021
@yinonov yinonov merged commit 2dcae4d into master Jul 25, 2021
@yinonov yinonov deleted the VIV-647/FIX/fix-grid-height branch July 25, 2021 14:30
yinonov added a commit that referenced this pull request Jul 28, 2021
#985)

* feat(data-grid): expose `heightByRows` field to control grid height dynamically guided by content  #983

* calm lint

* height-by-rows attribute convention

* refine changes

* add space in story

* correct description

* correct doc

Co-authored-by: tveinfeld <67224311+tveinfeld@users.noreply.github.com>
Co-authored-by: Yonatan Kra <yonatan.kra@vonage.com>
Co-authored-by: yinonov <yinon@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown with data grid hight
2 participants