Skip to content

Commit

Permalink
fix: tuning user permission layout (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG authored Oct 30, 2024
1 parent 0482481 commit d8bf622
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions src/app/_apm-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,17 @@
}
}

@mixin correct-ocx-interactive-data-view {
:host ::ng-deep {
ocx-interactive-data-view > div {
padding: 0 0 0.5rem 0 !important;
&.surface-border {
border-bottom: var(--table-header-border) !important;
}
}
}
}

/* ZEBRA rows */
@mixin dataview-list-zebra-rows {
:host ::ng-deep {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#permissionTable
[columns]="columns"
[value]="items"
styleClass="p-datatable-striped user-roles-and-permissions px-2 sm:px-3"
styleClass="p-datatable-striped user-roles-and-permissions"
[autoLayout]="true"
[globalFilterFields]="['productName', 'role', 'resource', 'action']"
[paginator]="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
font-size: var(--dialog-header-font-size);
}

.correct-ocx-interactive-data-view > ocx-interactive-data-view > div {
padding: 0 0 0.5rem 0 !important;
&.surface-border {
border-bottom: var(--table-header-border) !important;
}
}
// reduce on all panels
.p-tabview .p-tabview-panels {
padding: 0;
Expand Down

0 comments on commit d8bf622

Please sign in to comment.