Skip to content

Commit

Permalink
[EC-670] Update Members tab to support flex wrap (#4003)
Browse files Browse the repository at this point in the history
Use tailwind classes to style the Members page header so that it supports wrapping the controls to a new line should they exceed the width of the container.
  • Loading branch information
shane-melton authored and djsmith85 committed Nov 10, 2022
1 parent 0e1594e commit 05aa9ed
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/web/src/app/organizations/manage/people.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div class="page-header d-flex">
<h1>{{ "members" | i18n }}</h1>
<div class="ml-auto d-flex">
<div
class="-tw-mt-2 tw-mb-2 tw-flex tw-flex-wrap tw-border-0 tw-border-b tw-border-solid tw-border-secondary-300 tw-pb-2.5"
>
<h1 class="tw-mt-2 tw-mb-0 tw-grow tw-pr-3">{{ "members" | i18n }}</h1>
<div class="tw-mt-2 tw-flex tw-justify-start tw-space-x-3">
<div class="btn-group btn-group-sm" role="group">
<button
type="button"
Expand Down Expand Up @@ -39,7 +41,7 @@ <h1>{{ "members" | i18n }}</h1>
<span bitBadge badgeType="info" *ngIf="revokedCount">{{ revokedCount }}</span>
</button>
</div>
<div class="ml-3">
<div class="tw-w-44">
<label class="sr-only" for="search">{{ "search" | i18n }}</label>
<input
type="search"
Expand All @@ -49,7 +51,7 @@ <h1>{{ "members" | i18n }}</h1>
[(ngModel)]="searchText"
/>
</div>
<div class="dropdown ml-3" appListDropdown>
<div class="dropdown" appListDropdown>
<button
class="btn btn-sm btn-outline-secondary dropdown-toggle"
type="button"
Expand Down Expand Up @@ -98,7 +100,7 @@ <h1>{{ "members" | i18n }}</h1>
</button>
</div>
</div>
<button type="button" class="btn btn-sm btn-outline-primary ml-3" (click)="invite()">
<button type="button" class="btn btn-sm btn-outline-primary" (click)="invite()">
<i class="bwi bwi-plus bwi-fw" aria-hidden="true"></i>
{{ "inviteUser" | i18n }}
</button>
Expand Down

0 comments on commit 05aa9ed

Please sign in to comment.