This commit is contained in:
David Brazda
2024-11-15 09:04:27 +01:00
parent 2b607f96be
commit f1024d551f
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup(
name='lightweight_charts',
version='2.2.20',
version='2.2.21',
packages=find_packages(),
python_requires='>=3.8',
install_requires=[

View File

@ -48,7 +48,7 @@ export class Legend {
this.div.style.color = '#D1D4DC';
this.div.style.padding = '12px';
this.div.style.borderRadius = '4px';
this.div.style.border = '1px solid rgba(42, 46, 57, 0.85)';
//this.div.style.border = '1px solid rgba(42, 46, 57, 0.85)';
this.div.style.boxShadow = '0 2px 5px rgba(0,0,0,0.3)';
this.div.style.fontFamily = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif';
this.div.style.fontSize = '12px';
@ -112,7 +112,7 @@ export class Legend {
this.contentWrapper.style.pointerEvents = 'all';
this.text = document.createElement('span');
this.text.style.lineHeight = '1.8';
this.text.style.lineHeight = '1';
this.text.style.display = 'block';
this.text.style.color = '#D1D4DC';
this.text.style.pointerEvents = 'all';