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: [CDS-96839]: fix multitypeinput to have default width #1310

Closed
wants to merge 1 commit into from

Conversation

MondalSayantan
Copy link
Member

@MondalSayantan MondalSayantan commented May 14, 2024

You can use the following comments to re-trigger PR Checks

Added width: 100% to multi type input as default so that it occupies the space within the container and not exceed the container by default

Before

image

After

image
  • Jest: retrigger jest
  • Prettier: retrigger prettier
  • Type Check: retrigger typecheck
  • ESLint: retrigger eslint
  • StyleLint: retrigger stylelint
  • Build: retrigger build
  • Title Check: retrigger titlecheck
  • ImageSnapshot retrigger ImageSnapshot

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@Saran-harness Saran-harness left a comment

Choose a reason for hiding this comment

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

LGTM

@bot2-harness
Copy link

Image snapshots failed please check https://console.cloud.google.com/storage/browser/ui-team-bucket/uicore-2478

@@ -204,7 +204,7 @@ export function ExpressionAndRuntimeType<T = unknown>(props: ExpressionAndRuntim
className={cx(mini ? css.mini : css.main, {
[css.disabled]: type === MultiTypeInputType.RUNTIME || disabled
})}
width={width}
width={width || '100%'}
Copy link
Contributor

Choose a reason for hiding this comment

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

this can break at other places where width is not passed. the default width will be considered as 100%

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

6 participants