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

CATL-1660: Fix Select 2 styles #505

Merged
merged 3 commits into from
Apr 14, 2021
Merged

CATL-1660: Fix Select 2 styles #505

merged 3 commits into from
Apr 14, 2021

Conversation

deb1990
Copy link
Contributor

@deb1990 deb1990 commented Mar 31, 2021

Overview

When having an item with long name inside the Select 2, the UI used to break. This PR fixes that.

Before

2021-04-02 at 4 14 PM

2021-04-02 at 4 14 PM

After

2021-04-02 at 4 12 PM

2021-04-02 at 4 13 PM

Technical Details

In scss/bootstrap/overrides/vendors/_select2.scss, added height: 100%, to fix the original issue in compucorp/uk.co.compucorp.civicase#279. Now the code from Civicase is removed, as this height is enough to fix the issue.

In scss/jquery/overrides/_select2.scss, added word-break: break-all, so that long words break, instead of breaking the UI.

Backstop Test : https://github.com/compucorp/backstopjs-config/actions/runs/711467592

Added SCSS Linter as part of build process.
Updated Node JS version to latest LTS i.e 14.16.0.
Also updated gulp-sass to latest.

Copy link
Contributor

@lisandro-compucorp lisandro-compucorp left a comment

Choose a reason for hiding this comment

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

👍

@deb1990 deb1990 force-pushed the CATL-1660-fix-tags-ui branch from cc8b578 to 855dcc0 Compare April 14, 2021 15:30
@deb1990 deb1990 force-pushed the CATL-1660-fix-tags-ui branch from 89d5669 to 833005c Compare April 14, 2021 16:38
@deb1990 deb1990 merged commit 454b8c0 into master Apr 14, 2021
@deb1990 deb1990 deleted the CATL-1660-fix-tags-ui branch April 14, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants