Skip to content

Commit b1c4aa2

Browse files
marcgurneykangas
authored andcommitted
INT-878 Tour close bug
1 parent 26bbc4e commit b1c4aa2

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

src/tour/index.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#tour
44
.modal-header
55
h2 Welcome to MongoDB Compass
6-
a.tour-close-button ×
6+
button.tour-close-button ×
77
#animation
88
img#animation-gif(src="./images/tour/f0.gif")
99
#features
@@ -23,14 +23,14 @@
2323
h3.feature-title View Documents
2424
p.feature-description Open the document drawer on the right to view the raw JSON documents in the result set.
2525
.pager
26-
a.previous-slide.hide Previous
26+
button.previous-slide.hide Previous
2727
ul
2828
li#f0.selected(data-n="0", title="Choose a collection")
2929
li#f1(data-n="1", title="Browse schema")
3030
li#f2(data-n="2", title="View data distribution")
3131
li#f3(data-n="3", title="Build queries")
3232
li#f4(data-n="4", title="View documents")
33-
a.next-slide Next
33+
button.next-slide Next
3434
.get-started-button-holder
3535
button#tour-remove.hide(type="button", class="btn btn-info") Get Started
3636

src/tour/index.less

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@
3030
background-color: @pw;
3131
-webkit-transform: translate(-50%, -50%);
3232

33-
a.tour-close-button {
33+
button.tour-close-button {
3434
position: absolute;
3535
right: 10px;
3636
top: 0;
3737
color: @gray6;
3838
font-size: 28px;
3939
font-weight: 200;
4040
cursor: pointer;
41+
border: none;
42+
background: none;
4143

4244
&:hover {
4345
text-decoration: none;
@@ -78,23 +80,25 @@
7880
position: relative;
7981
-webkit-user-select: none;
8082

81-
a {
83+
button {
8284
position: absolute;
8385
display: block;
8486
color: @green2;
87+
border: none;
88+
background: none;
8589

8690
&:hover {
8791
text-decoration: none;
8892
cursor: pointer;
8993
}
9094
}
91-
a.previous-slide {
95+
button.previous-slide {
9296
background: url('images/tour/pager-arrow-left.png') left 0 no-repeat;
9397
background-size: 10px 22px;
9498
padding: 1px 0 0 20px;
9599
left: 0;
96100
}
97-
a.next-slide {
101+
button.next-slide {
98102
background: url('images/tour/pager-arrow-right.png') right 0 no-repeat;
99103
background-size: 10px 22px;
100104
padding: 1px 20px 0 0;

0 commit comments

Comments
 (0)