From 19b76a14a85c000996e22a6377ff86dc931bbc1e Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 21 Apr 2010 20:00:45 +0200 Subject: [PATCH] Tooltip: Remove fixed with from tooltip theme, set in instead in CSS where actually necessary --- demos/tooltip/forms.html | 4 +++- demos/tooltip/index.html | 6 ++---- themes/base/jquery.ui.tooltip.css | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html index 626161d6e..ac0529680 100644 --- a/demos/tooltip/forms.html +++ b/demos/tooltip/forms.html @@ -26,7 +26,7 @@ fieldset div { margin-bottom: 2em; } - .ui-tooltip { width: 200px; } + .ui-tooltip { width: 210px; } @@ -61,6 +61,8 @@

Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.

+

A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.

+ diff --git a/demos/tooltip/index.html b/demos/tooltip/index.html index ed5cd10e5..9b1efefe4 100644 --- a/demos/tooltip/index.html +++ b/demos/tooltip/index.html @@ -10,10 +10,8 @@

Examples

diff --git a/themes/base/jquery.ui.tooltip.css b/themes/base/jquery.ui.tooltip.css index 652bf3386..145b079d2 100644 --- a/themes/base/jquery.ui.tooltip.css +++ b/themes/base/jquery.ui.tooltip.css @@ -2,7 +2,6 @@ ----------------------------------*/ .ui-tooltip { padding:8px; - width:125px; position:absolute; z-index:9999; -o-box-shadow: 0 0 5px #aaa;