Skip to content

Commit 741ffd9

Browse files
committed
Start removing uses of CSS zoom (😨) in the extension.
1 parent 61e56d5 commit 741ffd9

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

src/strings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
alreadyInstalled: 'Already installed',
44
addToChrome: 'Add to Chrome',
55
shareThisJwt: 'Share this JWT',
6-
jwtIoUrlCopied: 'JWT.io URL copied',
6+
jwtIoUrlCopied: 'Copied',
77
noJwtsFound: 'No JWTs found',
88
saveBackTo: 'Save back to '
99
},

stylus/extension/index.styl

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
font-size 12px
1616
letter-spacing .5px
1717
position relative
18-
line-height 28px
18+
line-height 20px
1919
padding-right 40px
20-
width 190px
20+
width 170px
2121
text-align center
2222

2323
&:hover
2424
opacity: 0.85
2525

2626
img
2727
position absolute
28-
top 7px
28+
top 5px
2929
right 7px
3030

3131
.h-block
@@ -66,8 +66,7 @@
6666
color currentColor
6767

6868
.top-section
69-
margin-bottom 18px
70-
zoom .8
69+
margin-bottom 10px
7170

7271
a
7372
outline none
@@ -129,7 +128,7 @@
129128
&:before
130129
content ""
131130
background white
132-
height 34px
131+
height 28px
133132
width 23px
134133
display block
135134
position absolute
@@ -144,7 +143,7 @@
144143
content ''
145144
display inline-block
146145
position absolute
147-
top 16px
146+
top 13px
148147
right 10px
149148
pointer-events none
150149

@@ -156,10 +155,13 @@
156155
span
157156
font-weight bold
158157
text-transform uppercase
159-
font-size 12px
158+
font-size 10px
160159
vertical-align middle
161160
.custom-select
162161
margin-left 10px
162+
163+
select
164+
height 30px
163165

164166
section
165167
padding 15px 0 0 0

views/extension/index.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ block content
99

1010
.pull-left
1111
.jwt-logo.h-block
12-
img(src="/img/debugger-logo.svg" height="33" alt="Share this jwt")
12+
img(src="/img/debugger-logo.svg" height="25" alt="Share this jwt")
1313

1414
.pull-right
1515
.select-field.h-block
@@ -29,7 +29,7 @@ block content
2929
.share-this-jwt.h-block
3030
a.jwt-clipboard-btn(href="#")
3131
span#share-this-jwt-text Share this JWT
32-
img(src="/img/icon-chromeless.svg" height="25" alt="Share this jwt")
32+
img(src="/img/icon-chromeless.svg" height="22" alt="Share this jwt")
3333

3434
include ../token-editor-common.pug
3535

0 commit comments

Comments
 (0)