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?
ok, found need change max-width.
.popover{ max-width: 500px; }
Comments
Post a Comment