Skip to content

Commit 96c9b52

Browse files
committed
Add tooltip about what the 1x 2x 3x means
1 parent 5041138 commit 96c9b52

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function setupPage(pageData) {
9898
.append(
9999
new Chainable('div')
100100
.setAttribute('class', 'res-preview-wrap')
101+
.setAttribute('title', 'rendered at 15x15 pixels')
101102
.append(
102103
new Chainable('canvas')
103104
.setAttribute('class', 'res-preview icon')
@@ -106,10 +107,11 @@ function setupPage(pageData) {
106107
.setAttribute('width', 15)
107108
.setAttribute('height', 15),
108109
new Chainable('p')
109-
.append('1x')
110+
.append('1x')
110111
),
111112
new Chainable('div')
112113
.setAttribute('class', 'res-preview-wrap')
114+
.setAttribute('title', 'rendered at 30x30 pixels')
113115
.append(
114116
new Chainable('canvas')
115117
.setAttribute('class', 'res-preview icon')
@@ -122,6 +124,7 @@ function setupPage(pageData) {
122124
),
123125
new Chainable('div')
124126
.setAttribute('class', 'res-preview-wrap')
127+
.setAttribute('title', 'rendered at 45x45 pixels')
125128
.append(
126129
new Chainable('canvas')
127130
.setAttribute('class', 'res-preview icon')
@@ -130,7 +133,7 @@ function setupPage(pageData) {
130133
.setAttribute('width', 45)
131134
.setAttribute('height', 45),
132135
new Chainable('p')
133-
.append('3x')
136+
.append('3x')
134137
)
135138
),
136139
new Chainable('div')

0 commit comments

Comments
 (0)