Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
fix arrow width
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Koo committed Aug 19, 2012
1 parent 3274094 commit 1fa2c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions css/hopscotch.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions css/hopscotch.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ div#hopscotch-bubble {

#hopscotch-bubble-arrow-container {
@arrowWidth: 20px;
@borderAngledWidth: @bubbleBorderWidth*1.414; // 1.414 == sqrt(2)
position: absolute;

width: @arrowWidth*2;
Expand All @@ -103,7 +102,7 @@ div#hopscotch-bubble {
border-left: @arrowWidth solid transparent;
border-right: @arrowWidth solid transparent;
position: relative;
top: 0 - @arrowWidth + (@borderAngledWidth);
top: 0 - @arrowWidth + 10px;
}
.hopscotch-bubble-arrow-border {
border-bottom: @arrowWidth solid #000;
Expand All @@ -121,7 +120,7 @@ div#hopscotch-bubble {
border-left: @arrowWidth solid transparent;
border-right: @arrowWidth solid transparent;
position: relative;
top: 0 - @arrowWidth - (@borderAngledWidth);
top: 0 - @arrowWidth - 10px;
}
.hopscotch-bubble-arrow-border {
border-top: @arrowWidth solid #000;
Expand All @@ -139,7 +138,7 @@ div#hopscotch-bubble {
border-right: @arrowWidth solid @bubbleColor;
border-top: @arrowWidth solid transparent;
position: relative;
left: @borderAngledWidth;
left: 9px;
top: 0 - (2*@arrowWidth);
}
.hopscotch-bubble-arrow-border {
Expand All @@ -158,7 +157,7 @@ div#hopscotch-bubble {
border-left: @arrowWidth solid @bubbleColor;
border-top: @arrowWidth solid transparent;
position: relative;
left: 0 - @arrowWidth + (@borderAngledWidth);
left: 0 - @arrowWidth + 11px;
top: 0 - (2*@arrowWidth);
}
.hopscotch-bubble-arrow-border {
Expand Down

0 comments on commit 1fa2c3d

Please # to comment.