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(
|
||||
name='lightweight_charts',
|
||||
version='2.2.9',
|
||||
version='2.2.10',
|
||||
packages=find_packages(),
|
||||
python_requires='>=3.8',
|
||||
install_requires=[
|
||||
|
||||
@ -37,6 +37,9 @@ export class Legend {
|
||||
this.div = document.createElement('div');
|
||||
this.div.classList.add('legend');
|
||||
this.div.style.maxWidth = `${(handler.scale.width * 100) - 8}vw`
|
||||
this.div.style.maxHeight = '300px'; // Set a maximum height
|
||||
this.div.style.overflowY = 'auto'; // Enable vertical scrolling
|
||||
this.div.style.overflowX = 'hidden'; // Prevent horizontal scrolling
|
||||
this.div.style.display = 'none';
|
||||
|
||||
this.text = document.createElement('span')
|
||||
|
||||
Reference in New Issue
Block a user