Skip to content

Commit

Permalink
Fix style for mobile view (#6617) (#6619)
Browse files Browse the repository at this point in the history
(cherry picked from commit f80f059)

Signed-off-by: Lu Yu <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent dbf9df1 commit 7a206dd
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,20 @@

.euiSelectableListItem__content {
cursor: default;


.euiSelectableListItem__text {
max-height: 100%;
}
}
/* stylelint-enable */

.dataSourceAggregatedViewOuiFlexGroup {
.euiFlexItem {
max-width: fit-content;
}

/* stylelint-enable */

.dataSourceAggregatedViewOuiFlexItem {
color: grey;
text-overflow: ellipsis;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
.dataSourceSelectableOuiPanel {
width: 300px;

/* stylelint-disable */
.euiSelectableListItem__text {
max-height: 100%;
}

.dataSourceSelectableOuiFlexGroup {
.euiFlexItem {
max-width: fit-content;
}
/* stylelint-enable */

.dataSourceSelectableOuiFlexItem {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: inline-block;
max-width: fit-content;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
.dataSourceViewOuiPanel {
width: 300px;

/* stylelint-disable */

.euiSelectableListItem__text {
max-height: 100%;
}
}

.dataSourceViewOuiFlexGroup {
.euiFlexItem {
max-width: fit-content;
}
/* stylelint-enable */

.dataSourceViewOuiFlexItem {
color: grey;
text-overflow: ellipsis;
Expand Down

0 comments on commit 7a206dd

Please sign in to comment.