plainheart commented on issue #20156:
URL: https://github.com/apache/echarts/issues/20156#issuecomment-2227573172

   The CSS `div` tag selector is too generic, which causes the tooltip element 
to inherit the height `100%`. To solve this, you can use a class selector.
   
   ```js
   static styles = css`
       .chart-container {
           height: 100%;
           width: 100%;
       }
   `;
   
   
   render() {
       // return `Hello.`
       return html`<div class="chart-container" ${ref(this.inputRef)}></div>`;
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to