From 1c0e4fc7bb6ab2ef12f1050ed177a02d16ebdbce Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 28 Dec 2012 14:18:59 -0600 Subject: Popovers are now flexible width: * Instead of a fixed width, we use max-width * Width has been increased from 240px to 280px * Added ability to hide the title via CSS :empty selector if no title is provided --- docs/assets/css/bootstrap.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 133091b04..2e2f06160 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5301,7 +5301,7 @@ input[type="submit"].btn.btn-mini { left: 0; z-index: 1010; display: none; - width: 236px; + max-width: 276px; padding: 1px; text-align: left; white-space: normal; @@ -5348,6 +5348,10 @@ input[type="submit"].btn.btn-mini { border-radius: 5px 5px 0 0; } +.popover-title:empty { + display: none; +} + .popover-content { padding: 9px 14px; } -- cgit v1.2.3