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

render SVG in the card header when height and width are not set #869

Merged

Conversation

DaoDaoNoCode
Copy link
Member

@DaoDaoNoCode DaoDaoNoCode commented Jan 3, 2023

Description

Closes #867
Screen Shot 2023-01-03 at 10 03 19 AM

How Has This Been Tested?

Add OpenVino CR or any other CRs which doesn't contain width and height in their SVG definition, use firefox to open the explore page and check whether the icon is shown.

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: lucferbux

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit db85820 into opendatahub-io:main Jan 3, 2023
lucferbux pushed a commit to red-hat-data-services/odh-dashboard that referenced this pull request Jan 27, 2023
…datahub-io#869)

* render SVG in the card header when height and width are not set

* update brand
strangiato pushed a commit to strangiato/odh-dashboard that referenced this pull request Oct 18, 2023
…datahub-io#869)

* render SVG in the card header when height and width are not set

* update brand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: SVG Images with no widht and height are not displayed
3 participants