From 411a4f87944286192e18d6fa7405506008b6b472 Mon Sep 17 00:00:00 2001 From: gabaldon Date: Wed, 6 Nov 2024 09:50:55 +0100 Subject: [PATCH] fix: hide tradingview-logo --- packages/ui/assets/styles/main.scss | 6 +++++- packages/ui/package.json | 2 +- pnpm-lock.yaml | 11 ++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/packages/ui/assets/styles/main.scss b/packages/ui/assets/styles/main.scss index e321feeb..b641bda4 100644 --- a/packages/ui/assets/styles/main.scss +++ b/packages/ui/assets/styles/main.scss @@ -407,8 +407,12 @@ p { .text { color: var(--text); } - a { text-decoration: none; font-size: 1rem; } +.tv-lightweight-charts { + a#tv-attr-logo { + display: none; + } +} diff --git a/packages/ui/package.json b/packages/ui/package.json index 009e74bb..5c6e8971 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -35,7 +35,7 @@ "date-fns": "^3.6.0", "graphql": "^16.9.0", "graphql-request": "^7.1.0", - "lightweight-charts": "^4.1.7", + "lightweight-charts": "^4.2.1", "pinia": "^2.1.7", "vue-select": "4.0.0-beta.6" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d1d233a..9f68fec3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -139,8 +139,8 @@ importers: specifier: ^7.1.0 version: 7.1.0(graphql@16.9.0) lightweight-charts: - specifier: ^4.1.7 - version: 4.1.7 + specifier: ^4.2.1 + version: 4.2.1 pinia: specifier: ^2.1.7 version: 2.1.7(typescript@5.5.3)(vue@3.4.33(typescript@5.5.3)) @@ -4081,6 +4081,7 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -5207,8 +5208,8 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lightweight-charts@4.1.7: - resolution: {integrity: sha512-/np9mQ8GXThrvJvxx4iSTZl/PvIhqG0bVQe7V+N0SO9E7e25VLglHf5M6eQFGDmwcOWNTLztH2fF0PmZ/sVq9g==} + lightweight-charts@4.2.1: + resolution: {integrity: sha512-nE2zCZ5Gp7KZbVHUJi6QhQLkYRvYyxsQTnSLEXIFmc8iHOFBT4rk/Dbyecq+CLW59FNuoCPNOYjZnS63/uHDrA==} lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} @@ -14392,7 +14393,7 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lightweight-charts@4.1.7: + lightweight-charts@4.2.1: dependencies: fancy-canvas: 2.1.0