diff --git a/package.json b/package.json index 70119f6..9f41ce9 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "ngx-color": "^9.0.0", "primeflex": "^3.3.1", "primeicons": "^7.0.0", - "primeng": "^17.18.6", + "primeng": "^17.18.8", "rxjs": "7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.8" diff --git a/src/_mixins.scss b/src/_mixins.scss index f15e75a..11d9120 100644 --- a/src/_mixins.scss +++ b/src/_mixins.scss @@ -138,6 +138,14 @@ } } +@mixin footer-buttons { + :host ::ng-deep { + .p-dialog .p-dialog-footer button { + margin: 0; + } + } +} + @mixin correct-autocomplete { :host ::ng-deep { .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item { diff --git a/src/app/help/help-detail/help-detail.component.html b/src/app/help/help-detail/help-detail.component.html index b8f52aa..b5e350a 100644 --- a/src/app/help/help-detail/help-detail.component.html +++ b/src/app/help/help-detail/help-detail.component.html @@ -20,11 +20,11 @@ -
+
{{ 'HELPITEM_CREATION.HEADER' | translate }}
-
- - - - -
-
- - - - -
-
- - - - -
-
- - - - -
-
- - - - -
+ + + + + + + + + + + + + + + + + + + +
diff --git a/src/app/help/help-search/help-search.component.html b/src/app/help/help-search/help-search.component.html index b926645..e182264 100644 --- a/src/app/help/help-search/help-search.component.html +++ b/src/app/help/help-search/help-search.component.html @@ -167,34 +167,25 @@
-
- - + >
@@ -226,20 +217,16 @@ /> -
- + >
@@ -267,34 +254,26 @@ /> -
- - + >
diff --git a/src/app/help/help-search/help-search.component.scss b/src/app/help/help-search/help-search.component.scss index 6ba1666..dd748b5 100644 --- a/src/app/help/help-search/help-search.component.scss +++ b/src/app/help/help-search/help-search.component.scss @@ -1,6 +1,7 @@ @import '/src/_mixins.scss'; @include danger-action; +@include footer-buttons; @include table-inline-buttons; @include listbox-zebra-rows; @include correct-search-criteria; diff --git a/src/app/help/help-search/help-search.component.ts b/src/app/help/help-search/help-search.component.ts index fc8209b..068a270 100644 --- a/src/app/help/help-search/help-search.component.ts +++ b/src/app/help/help-search/help-search.component.ts @@ -63,18 +63,36 @@ export class HelpSearchComponent implements OnInit { header: 'APPLICATION_NAME', active: true, translationPrefix: 'HELP_ITEM', - css: 'hidden sm:table-cell' + css: 'hidden sm:table-cell px-2 py-1 sm:py-2 ' + }, + { + field: 'itemId', + header: 'HELP_ITEM_ID', + active: true, + translationPrefix: 'HELP_ITEM', + css: 'px-2 py-1 sm:py-2 ' + }, + { + field: 'baseUrl', + header: 'BASE_URL', + active: true, + translationPrefix: 'HELP_ITEM', + css: 'hidden lg:table-cell px-2 py-1 sm:py-2 ' }, - { field: 'itemId', header: 'HELP_ITEM_ID', active: true, translationPrefix: 'HELP_ITEM' }, - { field: 'baseUrl', header: 'BASE_URL', active: true, translationPrefix: 'HELP_ITEM', css: 'hidden lg:table-cell' }, { field: 'resourceUrl', header: 'RESOURCE_URL', active: true, translationPrefix: 'HELP_ITEM', - css: 'hidden xl:table-cell' + css: 'hidden xl:table-cell px-2 py-1 sm:py-2 ' }, - { field: 'context', header: 'CONTEXT', active: true, translationPrefix: 'HELP_ITEM', css: 'hidden xl:table-cell' } + { + field: 'context', + header: 'CONTEXT', + active: true, + translationPrefix: 'HELP_ITEM', + css: 'hidden xl:table-cell px-2 py-1 sm:py-2 ' + } ] constructor(