Skip to content

Commit

Permalink
refactor: fix renderer component sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
epessine committed Mar 10, 2024
1 parent 67af959 commit bf13482
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Livewire/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ public function clearScript(): void
public function render(): string
{
return <<<BLADE
<div>
<div style="width: 100%; height: 100%;">
<div wire:ignore x-data="\$axis['{$this->getId()}']"
style="width: 100%; height: 100%;"
axis-id="{$this->chartId}">
<{$this->containerElement} wire:ignore
style="width: 100%; height: 100%;"
x-ref="container"
wire:key="{$this->chartId}-container"
></{$this->containerElement}>
Expand Down

0 comments on commit bf13482

Please # to comment.