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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -