Skip to content

Commit

Permalink
Fix style for mobile view (opensearch-project#6617)
Browse files Browse the repository at this point in the history
Signed-off-by: Lu Yu <nluyu@amazon.com>
  • Loading branch information
BionIT authored Apr 23, 2024
1 parent 543bbea commit f80f059
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 f80f059

Please sign in to comment.