1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 15:44:51 +02: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;
line-height: 40px;
}
.show-grid:hover [class*="span"] {
background: #ddd;
.show-grid [class*="span"]:hover {
background-color: #ddd;
}
.show-grid .show-grid {
margin-top: 0;

View File

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