fix
This commit is contained in:
File diff suppressed because one or more lines are too long
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='lightweight_charts',
|
name='lightweight_charts',
|
||||||
version='2.2.20',
|
version='2.2.21',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
python_requires='>=3.8',
|
python_requires='>=3.8',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
|||||||
@ -48,7 +48,7 @@ export class Legend {
|
|||||||
this.div.style.color = '#D1D4DC';
|
this.div.style.color = '#D1D4DC';
|
||||||
this.div.style.padding = '12px';
|
this.div.style.padding = '12px';
|
||||||
this.div.style.borderRadius = '4px';
|
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.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.fontFamily = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif';
|
||||||
this.div.style.fontSize = '12px';
|
this.div.style.fontSize = '12px';
|
||||||
@ -112,7 +112,7 @@ export class Legend {
|
|||||||
this.contentWrapper.style.pointerEvents = 'all';
|
this.contentWrapper.style.pointerEvents = 'all';
|
||||||
|
|
||||||
this.text = document.createElement('span');
|
this.text = document.createElement('span');
|
||||||
this.text.style.lineHeight = '1.8';
|
this.text.style.lineHeight = '1';
|
||||||
this.text.style.display = 'block';
|
this.text.style.display = 'block';
|
||||||
this.text.style.color = '#D1D4DC';
|
this.text.style.color = '#D1D4DC';
|
||||||
this.text.style.pointerEvents = 'all';
|
this.text.style.pointerEvents = 'all';
|
||||||
|
|||||||
Reference in New Issue
Block a user