Skip to content

Commit

Permalink
Set fixed and big enough width for the selectors in "User action logs…
Browse files Browse the repository at this point in the history
…" screen (#6362)

Signed-off-by: vlo-rte <valerie.longa@rte-france.com>
  • Loading branch information
vlo-rte authored and quinarygio committed May 16, 2024
1 parent 958737b commit d4bcb5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@
<div id="opfab-useractionlogs-filters"
style="display: flex; padding-left: 5%; background-color: var(--opfab-bgcolor-darker)">
<div style="display: flex; margin-top: 38px; margin-bottom: 38px">
<div style="min-width: 200px">
<div style="width: 225px">
<of-multi-select id="opfab-login-filter" multiSelectId="login" [parentForm]="this.userActionLogsForm"
[config]="loginMultiSelectConfig" [options]="this.logins" [selectedOptions]="loginsSelected">
</of-multi-select>
</div>
<div style="min-width: 200px; margin-left: 10px">
<div style="width: 225px; margin-left: 10px">
<of-multi-select id="opfab-action-filter" multiSelectId="action" [parentForm]="this.userActionLogsForm"
[config]="actionsMultiSelectConfig" [options]="actions" [selectedOptions]="actionsSelected">
</of-multi-select>
</div>
</div>

<div style="display: flex; margin-top: 39px" [formGroup]="this.userActionLogsForm">
<div class="opfab-input" style="margin-left: 10px">
<div class="opfab-input opfab-useractionlogs-datepicker">
<label for="opfab-date-from" translate>useractionlogs.filters.dateFrom</label>
<input
type="datetime-local"
id="opfab-date-from"
formControlName="dateFrom">
</div>
<div class="opfab-input" style="margin-left: 10px">
<div class="opfab-input opfab-useractionlogs-datepicker">
<label for="opfab-date-to" translate>useractionlogs.filters.dateTo</label>
<input
type="datetime-local"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ td,th {
float: right;
margin-right: 10px;
cursor: pointer;
}
.opfab-useractionlogs-datepicker {
margin-left: 10px;
width: 210px;
}

0 comments on commit d4bcb5e

Please sign in to comment.