Skip to content

Commit

Permalink
[NA] style(st-dropdown-menu): Allow to display dropdown items in seve…
Browse files Browse the repository at this point in the history
…ral lines when container's width is smaller (#833)
  • Loading branch information
emgaitan-stratio authored Jan 13, 2020
1 parent 81d7109 commit 37a3c58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 29 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
**New features:**

* st-input: Allow to display an autocomplete list in order to select a predefined text
* st-menu: Create component
* grid: Allow to customize max-width with a css variable
* st-progress-bar: Option for a bigger progress-bar

**Others:**

* Update icon font to 1.26
* Remove min-width in bubble component
* st-dropdown-menu: Allow to display dropdown items in several lines when container's width is smaller

**New features:**

* st-menu: Create component
* grid: Allow to customize max-width with a css variable
* progress-bar: Option for a bigger progress-bar

## 17.2.0 (October 25, 2019)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1>{{titles[idx]}}</h1>
<div>
<h1>Scroll with Loading more spinner</h1>
<br>
<st-dropdown-menu [keyBoardMove]="true" [items]="this.menus[5]" [active]="active[5]"
<st-dropdown-menu [keyBoardMove]="true" [items]="menus[5]" [active]="active[5]"
[selectedItem]="selectedValue[5]"
[attr.id]="'dropdown-' + 5" (change)="onChange($event, 5)"
(scrollAtBottom)="onScrollAtBottom()" [isLoading]="isLoading">
Expand Down

This file was deleted.

5 changes: 1 addition & 4 deletions projects/egeo/src/theme/components/_dropdown-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@

.spinner {
display: block;
margin: auto;
margin: 20px auto 14px auto;
width: 20px;
height: 20px;
margin-bottom: 14px;
margin-top: 20px;
}
}
}
Expand Down Expand Up @@ -93,7 +91,6 @@
.label {
@extend %select-dropdown-menu-default;
display: inline-flex;
white-space: nowrap;
}

& .text-info {
Expand Down
2 changes: 2 additions & 0 deletions projects/egeo/src/theme/components/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
margin-top: -1px;
border-top-left-radius: 0;
border-top-right-radius: 0;
max-width: 100%;
word-break: break-word;
}
}

Expand Down

0 comments on commit 37a3c58

Please sign in to comment.