Fixed stylings #1.1.0.rc4

This commit is contained in:
Sven Heidemann 2023-08-18 00:42:58 +02:00
parent efce172c01
commit d586cca672
4 changed files with 8 additions and 7 deletions

View File

@ -23,7 +23,7 @@ export class MultiSelectColumnsComponent {
} }
get visibleHiddenColumns(): Column[] { 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[]>(); @Output() hiddenColumnsChange: EventEmitter<Column[]> = new EventEmitter<Column[]>();

View File

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

View File

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

View File

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