Changed styling

This commit is contained in:
mpetrov 2025-02-04 18:24:03 +02:00
parent d185b78427
commit 33825e5660
2 changed files with 11 additions and 10 deletions

View File

@ -80,7 +80,7 @@
</mat-chip> </mat-chip>
</mat-chip-listbox> </mat-chip-listbox>
</ng-container> </ng-container>
<div class="flex"> <div class="tb-form-table-row-cell-buttons flex">
<button type="button" <button type="button"
mat-icon-button mat-icon-button
#button #button
@ -93,8 +93,7 @@
&& calculatedFieldType() === CalculatedFieldType.SIMPLE)" && calculatedFieldType() === CalculatedFieldType.SIMPLE)"
matBadgeColor="warn" matBadgeColor="warn"
matBadgeSize="small" matBadgeSize="small"
matBadge="!" matBadge="*"
class="field-action"
> >
edit edit
</mat-icon> </mat-icon>
@ -104,7 +103,7 @@
(click)="onDelete($index)" (click)="onDelete($index)"
[matTooltip]="'action.delete' | translate" [matTooltip]="'action.delete' | translate"
matTooltipPosition="above"> matTooltipPosition="above">
<mat-icon class="field-action">delete</mat-icon> <mat-icon>delete</mat-icon>
</button> </button>
</div> </div>
</div> </div>

View File

@ -13,6 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
:host {
.tb-form-table-row-cell-buttons{
--mat-badge-legacy-small-size-container-size: 8px;
--mat-badge-small-size-container-overlap-offset: -5px;
--mat-badge-small-size-text-size: 0;
}
}
:host ::ng-deep { :host ::ng-deep {
.tb-inline-field { .tb-inline-field {
a { a {
@ -20,9 +28,3 @@
} }
} }
} }
:host {
.field-action {
color: rgba(0, 0, 0, 0.54);
}
}