Skip to content

Commit

Permalink
fix(visualization): force break word in selectors (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
leiyre committed Apr 12, 2022
1 parent 0448b33 commit 260d76d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 1 addition & 3 deletions frontend/components/commons/header/filters/SortFilter.vue
Expand Up @@ -170,9 +170,7 @@ export default {
width: 100%;
max-width: 280px;
a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
text-decoration: none;
max-width: 250px;
display: block;
Expand Down
7 changes: 4 additions & 3 deletions frontend/components/core/ReCheckbox.vue
Expand Up @@ -130,6 +130,8 @@ $checkbox-color-dark: $primary-color;
text-align: center;
vertical-align: middle;
text-align: center;
margin-right: 0;
margin-left: auto;
.svg-icon {
fill: $lighter-color;
transform: scale(0);
Expand All @@ -147,9 +149,9 @@ $checkbox-color-dark: $primary-color;
}
}
.checkbox-label {
height: $checkbox-size;
word-break: break-all;
line-height: $checkbox-size;
margin-right: auto;
margin-right: 0.5em;
}
&--dark {
&.checked {
Expand All @@ -169,7 +171,6 @@ $checkbox-color-dark: $primary-color;
.checkbox-label {
.dropdown--filter & {
height: auto;
padding-right: 2em;
white-space: normal;
text-transform: none;
word-break: break-all;
Expand Down
Expand Up @@ -160,6 +160,7 @@ export default {
padding: 0.5em 0;
text-align: left;
font-weight: 400;
word-break: break-all;
.re-checkbox {
margin: 0;
display: flex;
Expand Down
Expand Up @@ -195,6 +195,7 @@ export default {
margin-bottom: 0.5em;
}
span {
word-break: break-all;
cursor: pointer !important;
}
}
Expand Down

0 comments on commit 260d76d

Please sign in to comment.