Skip to content

Commit 947eaf2

Browse files
committed
fix margins and alignments of modeBar buttons
1 parent 1b7c126 commit 947eaf2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/css/_modebar.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
position: relative;
2929
font-size: 16px;
3030
padding: 3px 4px;
31+
height: 22px;
3132
/* display: inline-block; including this breaks 3d interaction in .embed mode. Chrome bug? */
3233
cursor: pointer;
3334
line-height: normal;
@@ -43,7 +44,8 @@
4344
.modebar-group {
4445
display: block;
4546
float: none;
46-
margin: 0 auto;
47+
margin-left: 0px;
48+
margin-top: 8px;
4749

4850
.modebar-btn {
4951
display:block;

src/fonts/ploticon/ploticon.svg

+2-2
Loading

0 commit comments

Comments
 (0)