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

[templates/angular-xmcloud] Fixed sxa components styles #1917

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Sep 4, 2024

Description / Motivation

Updated SXA styles to fit the structure of the Angular components. Also updated some components to don't produce extra markup at the root, especially it's important for structural components (e.g. ColumnSplitter, RowSplitter)

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@illiakovalenko illiakovalenko requested a review from a team September 4, 2024 12:41
@@ -20,6 +20,7 @@
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/no-host-metadata-property": "off",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This option is deprecated by Angular, so we can safely turn it off


sc-placeholder {
display: flex;
flex-direction: column;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By default we expect that "placeholder" renders components in column

Copy link
Contributor

@yavorsk yavorsk left a comment

Choose a reason for hiding this comment

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

Looks good!

@illiakovalenko illiakovalenko merged commit e74dcce into dev Sep 4, 2024
1 check passed
@illiakovalenko illiakovalenko deleted the bugfix/JSS-4069 branch September 4, 2024 13:33
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.

2 participants