Skip to content

Commit 9dc14e3

Browse files
committed
Small improvement to align action buttons in every breakpoint with flexbox align
1 parent 71076df commit 9dc14e3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/FAB.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@
269269
align-items: center;
270270
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.20), 0 4px 4px rgba(0, 0, 0, 0.15);
271271
z-index: 2;
272-
display: flex;
273-
align-items: center;
274272
justify-content: center;
275273
}
276274
@@ -313,7 +311,10 @@
313311
.fab-list {
314312
position: relative;
315313
z-index: 1;
316-
margin: 2vh 0.5vw;
314+
margin: 2vh 0;
315+
display: flex;
316+
flex-direction: column;
317+
align-items: center;
317318
}
318319
319320
.fab-list li {
@@ -383,7 +384,7 @@
383384
384385
@media screen and (max-width: 768px) {
385386
.fab-list {
386-
margin: 2vh 1.8vw;
387+
margin: 2vh 0;
387388
}
388389
389390
.fab-list li {

0 commit comments

Comments
 (0)