Merge pull request 'Fixed stylings #1.1.0.rc4 style fixes' (#348) from 1.1.0.rc4 into 1.1.0

Reviewed-on: sh-edraft.de/kd_discord_bot#348
This commit is contained in:
Sven Heidemann 2023-08-18 00:43:56 +02:00
commit 7bfa39f459
4 changed files with 8 additions and 7 deletions

View File

@ -23,7 +23,7 @@ export class MultiSelectColumnsComponent {
}
get visibleHiddenColumns(): Column[] {
return this._hiddenColumns.filter(x => x.key.startsWith(`${this.table}_`));
return this._hiddenColumns.filter(x => x.key?.startsWith(`${this.table}_`));
}
@Output() hiddenColumnsChange: EventEmitter<Column[]> = new EventEmitter<Column[]>();

View File

@ -167,9 +167,7 @@
<td hideable-th="xp" [parent]="this">
<p-cellEditor>
<ng-template pTemplate="input">
<p-inputNumber class="table-edit-input" styleClass="input-number" [(ngModel)]="member.xp" mode="decimal" [min]="0" [useGrouping]="false" [showButtons]="true"
inputId="minmax-buttons">
</p-inputNumber>
<input class="table-edit-input" pInputText min="0" type="number" [(ngModel)]="member.xp">
</ng-template>
<ng-template pTemplate="output">
{{member.xp}}

View File

@ -729,6 +729,10 @@ p-inputNumber {
}
}
p-cellEditor {
width: 100%;
}
.p-multiselect {
width: 100% !important;
}

View File

@ -97,8 +97,7 @@ p-table {
}
}
.p-dropdown,
.p-inputnumber {
.p-dropdown {
width: 100% !important;
}