0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

clear up show-grid stuff

This commit is contained in:
Mark Otto 2013-01-30 18:16:14 -08:00
parent dd4ce35ddc
commit 3cc65cb86c
2 changed files with 3 additions and 3 deletions

View File

@ -339,8 +339,8 @@ only screen and ( -o-min-device-pixel-ratio: 2/1) {
min-height: 40px; min-height: 40px;
line-height: 40px; line-height: 40px;
} }
.show-grid:hover [class*="span"] { .show-grid [class*="span"]:hover {
background: #ddd; background-color: #ddd;
} }
.show-grid .show-grid { .show-grid .show-grid {
margin-top: 0; margin-top: 0;

View File

@ -36,7 +36,7 @@
// add tipsies to grid for scaffolding // add tipsies to grid for scaffolding
if ($('#gridSystem').length) { if ($('#gridSystem').length) {
$('#gridSystem').tooltip({ $('#gridSystem').tooltip({
selector: '.show-grid > div:not(.tooltip)' selector: '.show-grid > [class*="span"]'
, title: function () { return $(this).width() + 'px' } , title: function () { return $(this).width() + 'px' }
}) })
} }