vendor/assets/stylesheets/twitter/_tooltip.scss in sass-twitter-bootstrap-2.2.2.1 vs vendor/assets/stylesheets/twitter/_tooltip.scss in sass-twitter-bootstrap-2.3.0
- old
+ new
@@ -7,23 +7,23 @@
.tooltip {
position: absolute;
z-index: $zindexTooltip;
display: block;
visibility: visible;
- padding: 5px;
font-size: 11px;
+ line-height: 1.4;
@include opacity(0);
&.in { @include opacity(80); }
- &.top { margin-top: -3px; }
- &.right { margin-left: 3px; }
- &.bottom { margin-top: 3px; }
- &.left { margin-left: -3px; }
+ &.top { margin-top: -3px; padding: 5px 0; }
+ &.right { margin-left: 3px; padding: 0 5px; }
+ &.bottom { margin-top: 3px; padding: 5px 0; }
+ &.left { margin-left: -3px; padding: 0 5px; }
}
// Wrapper for the tooltip content
.tooltip-inner {
max-width: 200px;
- padding: 3px 8px;
+ padding: 8px;
color: $tooltipColor;
text-align: center;
text-decoration: none;
background-color: $tooltipBackground;
@include border-radius($baseBorderRadius);