From bbd28caab4e9bd59fd6c0e77c055599913582493 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Wed, 17 Jul 2024 17:08:42 +0200 Subject: [PATCH] fix: dynamic heights Signed-off-by: Mirko Mollik --- viewer/package.json | 26 ++++----- viewer/pnpm-lock.yaml | 54 +++++++++---------- .../credential-profile-list.component.scss | 6 +-- .../resources-list.component.scss | 6 +-- 4 files changed, 46 insertions(+), 46 deletions(-) diff --git a/viewer/package.json b/viewer/package.json index bec10bb..6505fc6 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -34,10 +34,10 @@ "@ngbracket/ngx-layout": "^17.0.1", "marked": "12.0.2", "ngx-markdown": "^18.0.0", - "rxjs": "~7.8.0", - "tslib": "^2.3.0", + "rxjs": "~7.8.1", + "tslib": "^2.6.3", "xlsx": "^0.18.5", - "zone.js": "~0.14.3" + "zone.js": "~0.14.7" }, "devDependencies": { "@angular-devkit/build-angular": "^18.1.0", @@ -48,20 +48,20 @@ "@angular-eslint/template-parser": "18.1.0", "@angular/cli": "~18.1.0", "@angular/compiler-cli": "^18.1.0", - "@types/jasmine": "~4.3.0", - "@typescript-eslint/eslint-plugin": "^7.2.0", - "@typescript-eslint/parser": "^7.2.0", - "ajv": "^8.12.0", - "autoprefixer": "^10.4.14", + "@types/jasmine": "~4.3.6", + "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/parser": "^7.16.1", + "ajv": "^8.17.1", + "autoprefixer": "^10.4.19", "eslint": "^8.57.0", - "jasmine-core": "~4.6.0", - "karma": "~6.4.0", + "jasmine-core": "~4.6.1", + "karma": "~6.4.3", "karma-chrome-launcher": "~3.2.0", - "karma-coverage": "~2.2.0", + "karma-coverage": "~2.2.1", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "nodemon": "^3.0.1", - "postcss": "^8.4.24", + "nodemon": "^3.1.4", + "postcss": "^8.4.39", "replace-in-file": "^8.1.0", "typescript": "~5.5.3" } diff --git a/viewer/pnpm-lock.yaml b/viewer/pnpm-lock.yaml index 8ffae64..27c9b0a 100644 --- a/viewer/pnpm-lock.yaml +++ b/viewer/pnpm-lock.yaml @@ -48,16 +48,16 @@ importers: specifier: ^18.0.0 version: 18.0.0(@angular/common@18.1.0(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7))(rxjs@7.8.1))(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7))(@angular/platform-browser@18.1.0(@angular/animations@18.1.0(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7)))(@angular/common@18.1.0(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7))(rxjs@7.8.1))(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7)))(marked@12.0.2)(rxjs@7.8.1)(zone.js@0.14.7) rxjs: - specifier: ~7.8.0 + specifier: ~7.8.1 version: 7.8.1 tslib: - specifier: ^2.3.0 + specifier: ^2.6.3 version: 2.6.3 xlsx: specifier: ^0.18.5 version: 0.18.5 zone.js: - specifier: ~0.14.3 + specifier: ~0.14.7 version: 0.14.7 devDependencies: '@angular-devkit/build-angular': @@ -85,34 +85,34 @@ importers: specifier: ^18.1.0 version: 18.1.0(@angular/compiler@18.1.0(@angular/core@18.1.0(rxjs@7.8.1)(zone.js@0.14.7)))(typescript@5.5.3) '@types/jasmine': - specifier: ~4.3.0 + specifier: ~4.3.6 version: 4.3.6 '@typescript-eslint/eslint-plugin': - specifier: ^7.2.0 + specifier: ^7.16.1 version: 7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.2.0 + specifier: ^7.16.1 version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) ajv: - specifier: ^8.12.0 + specifier: ^8.17.1 version: 8.17.1 autoprefixer: - specifier: ^10.4.14 + specifier: ^10.4.19 version: 10.4.19(postcss@8.4.39) eslint: specifier: ^8.57.0 version: 8.57.0 jasmine-core: - specifier: ~4.6.0 + specifier: ~4.6.1 version: 4.6.1 karma: - specifier: ~6.4.0 + specifier: ~6.4.3 version: 6.4.3 karma-chrome-launcher: specifier: ~3.2.0 version: 3.2.0 karma-coverage: - specifier: ~2.2.0 + specifier: ~2.2.1 version: 2.2.1 karma-jasmine: specifier: ~5.1.0 @@ -121,10 +121,10 @@ importers: specifier: ~2.1.0 version: 2.1.0(jasmine-core@4.6.1)(karma-jasmine@5.1.0(karma@6.4.3))(karma@6.4.3) nodemon: - specifier: ^3.0.1 + specifier: ^3.1.4 version: 3.1.4 postcss: - specifier: ^8.4.24 + specifier: ^8.4.39 version: 8.4.39 replace-in-file: specifier: ^8.1.0 @@ -5760,7 +5760,7 @@ snapshots: dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.24.7 - '@babel/generator': 7.24.10 + '@babel/generator': 7.24.7 '@babel/helper-compilation-targets': 7.24.8 '@babel/helper-module-transforms': 7.24.9(@babel/core@7.24.7) '@babel/helpers': 7.24.8 @@ -7469,7 +7469,7 @@ snapshots: '@npmcli/fs@3.1.1': dependencies: - semver: 7.6.3 + semver: 7.6.2 '@npmcli/git@5.0.8': dependencies: @@ -7480,7 +7480,7 @@ snapshots: proc-log: 4.2.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.6.3 + semver: 7.6.2 which: 4.0.0 transitivePeerDependencies: - bluebird @@ -7500,7 +7500,7 @@ snapshots: json-parse-even-better-errors: 3.0.2 normalize-package-data: 6.0.2 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.6.2 transitivePeerDependencies: - bluebird @@ -8559,7 +8559,7 @@ snapshots: postcss-modules-scope: 3.2.0(postcss@8.4.39) postcss-modules-values: 4.0.0(postcss@8.4.39) postcss-value-parser: 4.2.0 - semver: 7.6.3 + semver: 7.6.2 optionalDependencies: webpack: 5.92.1(esbuild@0.21.5) @@ -9676,11 +9676,11 @@ snapshots: istanbul-lib-instrument@6.0.2: dependencies: - '@babel/core': 7.24.9 + '@babel/core': 7.24.7 '@babel/parser': 7.24.8 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 + semver: 7.6.2 transitivePeerDependencies: - supports-color @@ -10420,7 +10420,7 @@ snapshots: make-fetch-happen: 13.0.1 nopt: 7.2.1 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.6.2 tar: 6.2.1 which: 4.0.0 transitivePeerDependencies: @@ -10453,7 +10453,7 @@ snapshots: normalize-package-data@6.0.2: dependencies: hosted-git-info: 7.0.2 - semver: 7.6.3 + semver: 7.6.2 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} @@ -10466,7 +10466,7 @@ snapshots: npm-install-checks@6.3.0: dependencies: - semver: 7.6.3 + semver: 7.6.2 npm-normalize-package-bin@3.0.1: {} @@ -10474,7 +10474,7 @@ snapshots: dependencies: hosted-git-info: 7.0.2 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.6.2 validate-npm-package-name: 5.0.1 npm-packlist@8.0.2: @@ -10486,7 +10486,7 @@ snapshots: npm-install-checks: 6.3.0 npm-normalize-package-bin: 3.0.1 npm-package-arg: 11.0.2 - semver: 7.6.3 + semver: 7.6.2 npm-registry-fetch@17.1.0: dependencies: @@ -10610,7 +10610,7 @@ snapshots: bl: 4.1.0 chalk: 4.1.2 cli-cursor: 3.1.0 - cli-spinners: 2.9.2 + cli-spinners: 2.6.1 is-interactive: 1.0.0 log-symbols: 4.1.0 strip-ansi: 6.0.1 @@ -10755,7 +10755,7 @@ snapshots: cosmiconfig: 9.0.0(typescript@5.5.3) jiti: 1.21.6 postcss: 8.4.38 - semver: 7.6.3 + semver: 7.6.2 optionalDependencies: webpack: 5.92.1(esbuild@0.21.5) transitivePeerDependencies: diff --git a/viewer/src/app/credential-profile/credential-profile-list/credential-profile-list.component.scss b/viewer/src/app/credential-profile/credential-profile-list/credential-profile-list.component.scss index 30bda09..4703cb3 100644 --- a/viewer/src/app/credential-profile/credential-profile-list/credential-profile-list.component.scss +++ b/viewer/src/app/credential-profile/credential-profile-list/credential-profile-list.component.scss @@ -1,5 +1,5 @@ -.container { - max-height: calc(100vh - 169px); +.container { + max-height: calc(100vh - 149px); overflow: auto; } @@ -13,4 +13,4 @@ #updateDate { padding-right: 10px; -} \ No newline at end of file +} diff --git a/viewer/src/app/resources/resources-list/resources-list.component.scss b/viewer/src/app/resources/resources-list/resources-list.component.scss index e052578..1a5062c 100644 --- a/viewer/src/app/resources/resources-list/resources-list.component.scss +++ b/viewer/src/app/resources/resources-list/resources-list.component.scss @@ -1,5 +1,5 @@ -.container { - max-height: calc(100vh - 121px); +.container { + max-height: calc(100vh - 113px); overflow: auto; } @@ -13,4 +13,4 @@ .mat-mdc-paginator { border-top: 1px solid #E0E0E0; -} \ No newline at end of file +}