mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
fix(editor): Fix templates view layout (#8196)
## Summary Recent changes to the template info carousel component broke the layout of the templates way so it had excessive width when templates categories carousel was visible. This PR reverts disables CSS that held it in place. ## Related tickets and issues Fixes ADO-1628 ## Review / Merge checklist - [ ] PR title and summary are descriptive. **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** ([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md)) - [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created. - [ ] Tests included. > A bug is not considered fixed, unless a test is added to prevent it from happening again. > A feature is not complete without tests.
This commit is contained in:
parent
17a4e2ea80
commit
d01e42a2aa
|
@ -35,7 +35,7 @@ export class WorkflowsPage extends BasePage {
|
||||||
// myWorkflows: () => cy.getByTestId('my-workflows'),
|
// myWorkflows: () => cy.getByTestId('my-workflows'),
|
||||||
// allWorkflows: () => cy.getByTestId('all-workflows'),
|
// allWorkflows: () => cy.getByTestId('all-workflows'),
|
||||||
suggestedTemplatesPageContainer: () => cy.getByTestId('suggested-templates-page-container'),
|
suggestedTemplatesPageContainer: () => cy.getByTestId('suggested-templates-page-container'),
|
||||||
suggestedTemplatesCards: () => cy.getByTestId('templates-info-card').filter(':visible'),
|
suggestedTemplatesCards: () => cy.get('.agile__slides--regular [data-test-id=templates-info-card]'),
|
||||||
suggestedTemplatesNewWorkflowButton: () => cy.getByTestId('suggested-templates-new-workflow-button'),
|
suggestedTemplatesNewWorkflowButton: () => cy.getByTestId('suggested-templates-new-workflow-button'),
|
||||||
suggestedTemplatesSectionContainer: () => cy.getByTestId('suggested-templates-section-container'),
|
suggestedTemplatesSectionContainer: () => cy.getByTestId('suggested-templates-section-container'),
|
||||||
suggestedTemplatesPreviewModal: () => cy.getByTestId('suggested-templates-preview-modal'),
|
suggestedTemplatesPreviewModal: () => cy.getByTestId('suggested-templates-preview-modal'),
|
||||||
|
|
|
@ -30,7 +30,7 @@ export default defineComponent({
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
.card {
|
.card {
|
||||||
min-width: 180px;
|
min-width: 235px;
|
||||||
height: 140px;
|
height: 140px;
|
||||||
margin-right: var(--spacing-2xs);
|
margin-right: var(--spacing-2xs);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -229,5 +229,9 @@ export default defineComponent({
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
transition: all 1s ease-in-out;
|
transition: all 1s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__track {
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue