mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fix examples
This commit is contained in:
@@ -810,7 +810,7 @@ const App = () => {
|
||||
</SlPopup>
|
||||
</div>
|
||||
|
||||
<SlSwitch checked={fixed} onSlChange={event => setFixed(event.target.value)}>
|
||||
<SlSwitch checked={fixed} onSlChange={event => setFixed(event.target.checked)}>
|
||||
Fixed
|
||||
</SlSwitch>
|
||||
</div>
|
||||
@@ -1038,7 +1038,7 @@ Scroll the container to see the popup resize as its available space changes.
|
||||
```html preview
|
||||
<div class="popup-auto-size">
|
||||
<div class="overflow">
|
||||
<sl-popup placement="top" auto-size active>
|
||||
<sl-popup placement="top" auto-size auto-size-padding="10" active>
|
||||
<span slot="anchor"></span>
|
||||
<div class="box"></div>
|
||||
</sl-popup>
|
||||
|
||||
Reference in New Issue
Block a user