Skip to content

Commit b476c09

Browse files
committed
Padding sizes fixed to pixels instead of rems
1 parent 4dd9291 commit b476c09

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

dist/build.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/build.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-fab",
3-
"version": "2.0.9",
3+
"version": "2.0.10",
44
"description": "Vue Floating Action Button",
55
"main": "src/index.js",
66
"repository": {

src/FAB.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@
148148
paddingAmount() {
149149
switch (this.iconSize) {
150150
case 'small':
151-
return '1.8rem';
151+
return '28px';
152152
break;
153153
case 'medium':
154-
return '2rem';
154+
return '32px';
155155
break;
156156
case 'large':
157-
return '2.5rem';
157+
return '38px';
158158
break;
159159
default:
160-
return '1.9rem';
160+
return '32px';
161161
}
162162
},
163163
listPos() {
@@ -313,7 +313,7 @@
313313
border-radius: 100px;
314314
/*width: 65px;*/
315315
/*height: 65px;*/
316-
padding: 2rem;
316+
padding: 30px;
317317
position: relative;
318318
overflow: hidden;
319319
display: flex;
@@ -371,7 +371,7 @@
371371
.fab-list li {
372372
/*width: 50px;*/
373373
/*height: 50px;*/
374-
padding: .8rem;
374+
padding: 10px;
375375
margin-top: 2vh;
376376
display: flex;
377377
align-items: center;

0 commit comments

Comments
 (0)