From e22ca038edec75f04b72d2e7083ed648fad93351 Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Tue, 4 Jun 2024 14:07:55 -0500 Subject: [PATCH] [NIFI-13331] set default table density to -4 for all listings in nifi (#8925) This closes #8925 --- .../manage-remote-ports.component.scss | 4 ---- .../parameter-table/parameter-table.component.scss | 8 -------- .../extension-creation/extension-creation.component.scss | 2 -- .../nifi/apps/nifi/src/assets/styles/_listing-table.scss | 1 + 4 files changed, 1 insertion(+), 14 deletions(-) diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.scss index b1f7b3d121..52c8a99828 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.scss @@ -15,12 +15,8 @@ * limitations under the License. */ -@use '@angular/material' as mat; - .manage-remote-ports-table { .listing-table { - @include mat.table-density(-4); - table { .mat-column-moreDetails { width: 52px; diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.scss index 6bd6193d64..2944f98194 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.scss @@ -14,11 +14,3 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -@use '@angular/material' as mat; - -.parameter-table { - .listing-table { - @include mat.table-density(-4); - } -} diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/ui/common/extension-creation/extension-creation.component.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/ui/common/extension-creation/extension-creation.component.scss index 5730380b32..e9067c2d5d 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/ui/common/extension-creation/extension-creation.component.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/app/ui/common/extension-creation/extension-creation.component.scss @@ -21,8 +21,6 @@ @include mat.button-density(-1); .listing-table { - @include mat.table-density(-4); - table { .fa.fa-shield { width: 10px; diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_listing-table.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_listing-table.scss index 76903e20f6..761d94cd44 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_listing-table.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_listing-table.scss @@ -20,6 +20,7 @@ @mixin styles() { .listing-table { + @include mat.table-density(-4); border-width: 1px; border-style: solid;