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

fix(svg): don't style width/height in attributes with unit #5550

Merged
merged 2 commits into from Mar 16, 2023

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Mar 16, 2023

Browsers warn for a width/height attribute which isn't a number, as it can only be a "unitless value" (px). Despite that it does seem to work.

Components involved:

  • SearchBox in Vue
  • Panel in JS
  • Refresh in hooks example

Browsers warn for a width/height attribute which isn't a number, as it can only be a "unitless value" (px). Despite that it does seem to work.

Components involved:
- SearchBox in Vue
- Panel in JS
- Refresh in hooks example
@Haroenv Haroenv requested review from a team, dhayab and aymeric-giraudet and removed request for a team March 16, 2023 13:53
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 16, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 34d3171:

Sandbox Source
InstantSearch.js Configuration
react-instantsearch-app Configuration
example-react-instantsearch-hooks-default-theme Configuration
example-vue-instantsearch-default-theme Configuration

@Haroenv Haroenv enabled auto-merge (squash) March 16, 2023 14:22
@Haroenv Haroenv merged commit 31b85a6 into master Mar 16, 2023
13 checks passed
@Haroenv Haroenv deleted the fix/size-html-attributes branch March 16, 2023 14:24
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.

None yet

2 participants