Image in bootstrap popover is not contained in a frame -


i use bootstrap popover.

<script> $(document).ready(function(){     $('a[rel=popover]').popover({     html: true,         trigger: 'hover',         placement: 'right',         content: function(){return '<img src="'+$(this).data('img') + '" />';} }); }); </script> 

but big images not contained in frame can see in image below.

how can fix problem?

enter image description here

ok, found need change max-width.

.popover{     max-width: 500px; } 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -