1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 12:21:35 +02:00

Placement auto for popovers

This commit is contained in:
Johann-S
2017-05-24 14:09:36 +02:00
parent 2c72af88ee
commit 4c3b6c5ceb
3 changed files with 19 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
<div class="container">
<h1>Popover <small>Bootstrap Visual Test</small></h1>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="auto" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
Popover on auto
</button>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="Default placement was on top but not enough place">
Popover on top
</button>