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

feat(dropdown): inverted menu in non inverted dropdown example #249

Merged
merged 1 commit into from
Dec 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions server/documents/modules/dropdown.html.eco
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,26 @@ themes : ['Default', 'GitHub', 'Material']
</div>
</div>

<div class="another dropdown example">
<p>The menu of a non-inverted dropdown can be inverted <span class="ui black label">New in 2.8.8</span></p>
<div class="ui selection dropdown">
<input type="hidden" name="choices">
<div class="default text">Select choice</div>
<i class="dropdown icon"></i>
<div class="inverted menu">
<div class="item">Choice 1</div>
<div class="item">Choice 2</div>
<div class="item">Choice 3</div>
<div class="item">Choice 4</div>
<div class="item">Choice 5</div>
<div class="item">Choice 6</div>
<div class="item">Choice 7</div>
<div class="item">Choice 8</div>
<div class="item">Choice 9</div>
</div>
</div>
</div>

<div class="dropdown example">
<h4 class="ui header">Compact</h4>
<p>A compact dropdown has no minimum width</p>
Expand Down