-
Notifications
You must be signed in to change notification settings - Fork 49
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
chore: adjust spacing to classNames #3442
chore: adjust spacing to classNames #3442
Conversation
b548107
to
c164e81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we use all of the replaced style props only for margins and paddings? So it can be safely replaced with only classNames or removed. Files:
- SeparatorLine.js
- DescriptionHint.tsx
- ExternalLink.tsx
- UI5Panel.tsx
@@ -153,7 +152,7 @@ export function BusolaExtensionDetails({ name, namespace }) { | |||
<MessageStrip | |||
design="Information" | |||
hideCloseButton | |||
style={spacing.sapUiSmallMarginBottom} | |||
className="sap-margin-bottom-small sap-margin-top-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="sap-margin-bottom-small sap-margin-top-small" | |
className="sap-margin-y-small" |
@@ -129,7 +128,7 @@ export function AuthForm({ | |||
<MessageStrip | |||
design="Warning" | |||
hideCloseButton | |||
style={spacing.sapUiSmallMarginTopBottom} | |||
className="sap-margin-top-small sap-margin-bottom-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="sap-margin-top-small sap-margin-bottom-small" | |
className="sap-margin-y-small" |
{t('clusters.wizard.review')} | ||
</Title> | ||
<Title | ||
level="H5" | ||
className="cluster-preview__subtitle" | ||
style={spacing.sapUiSmallMarginTopBottom} | ||
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" | |
className="cluster-preview__subtitle sap-margin-y-small" |
@@ -153,17 +108,10 @@ export function ClusterPreview({ kubeconfig, storage, setSelected, hasAuth }) { | |||
</div> | |||
<Title | |||
level="H5" | |||
className="cluster-preview__subtitle" | |||
style={spacing.sapUiSmallMarginTopBottom} | |||
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" | |
className="cluster-preview__subtitle sap-margin-y-small" |
@@ -177,25 +125,12 @@ export function ClusterPreview({ kubeconfig, storage, setSelected, hasAuth }) { | |||
</div> | |||
<Title | |||
level="H5" | |||
className="cluster-preview__subtitle" | |||
style={spacing.sapUiSmallMarginTopBottom} | |||
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="cluster-preview__subtitle sap-margin-top-small sap-margin-bottom-small" | |
className="cluster-preview__subtitle sap-margin-y-small" |
@@ -63,7 +59,7 @@ export function ContextChooser(params) { | |||
<MessageStrip | |||
design="Information" | |||
hideCloseButton | |||
style={spacing.sapUiSmallMarginTopBottom} | |||
className="sap-margin-top-small sap-margin-bottom-small" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="sap-margin-top-small sap-margin-bottom-small" | |
className="sap-margin-y-small" |
className="bsl-color--text" | ||
style={spacing.sapUiSmallMarginTopBottom} | ||
> | ||
<p className="bsl-color--text sap-margin-top-small sap-margin-bottom-small"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p className="bsl-color--text sap-margin-top-small sap-margin-bottom-small"> | |
<p className="bsl-color--text sap-margin-y-small"> |
SeparatorLint - my mistake, it's adjusted |
cd703c0
into
kyma-project:ui5-migrate-v2
Description
Changes proposed in this pull request:
Related issue(s)
Definition of done
backlog#4567