diff options
| author | Guillaume Gautreau <[email protected]> | 2013-01-26 13:50:26 +0100 |
|---|---|---|
| committer | Guillaume Gautreau <[email protected]> | 2013-01-26 13:50:26 +0100 |
| commit | 6803ff70f9203595a04c5adb20d7556cd52c5923 (patch) | |
| tree | 7b32c30a7227c7c7a475ec06aad2dac49caa2b4b /less | |
| parent | 01b465928ec47d460ea1fd705e49aa2e0e9a4d28 (diff) | |
| download | bootstrap-6803ff70f9203595a04c5adb20d7556cd52c5923.tar.xz bootstrap-6803ff70f9203595a04c5adb20d7556cd52c5923.zip | |
Tooltip positionning on special cases
Diffstat (limited to 'less')
| -rw-r--r-- | less/tooltip.less | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/less/tooltip.less b/less/tooltip.less index 59b02cd43..d5a2bfaba 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -9,15 +9,14 @@ z-index: @zindexTooltip; display: block; visibility: visible; - padding: 5px; font-size: 11px; line-height: 1.4; .opacity(0); &.in { .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 |
