Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 31d6fb2

Browse filesBrowse files
committed
in modebar plotly logo has same position in both orientations (v|h)
1 parent b7c2355 commit 31d6fb2
Copy full SHA for 31d6fb2

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎build/plotcss.js

Copy file name to clipboardExpand all lines: build/plotcss.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ var rules = {
3737
"X .modebar-group": "float:left;display:inline-block;box-sizing:border-box;margin-left:8px;position:relative;vertical-align:middle;white-space:nowrap;",
3838
"X .modebar-btn": "position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;",
3939
"X .modebar-btn svg": "position:relative;top:2px;",
40-
"X .modebar.vertical .modebar-group": "display:block;float:none;margin-left:0px;margin-top:8px;",
40+
"X .modebar.vertical": "top:-1px;",
41+
"X .modebar.vertical .modebar-group": "display:block;float:none;margin-left:0px;margin-bottom:8px;",
4142
"X .modebar.vertical .modebar-group .modebar-btn": "display:block;text-align:center;",
4243
"X [data-title]:before,X [data-title]:after": "position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;",
4344
"X [data-title]:hover:before,X [data-title]:hover:after": "display:block;opacity:1;",

‎src/css/_modebar.scss

Copy file name to clipboardExpand all lines: src/css/_modebar.scss
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@
4545
}
4646

4747
.modebar.vertical {
48+
top: -1px;
4849
.modebar-group {
4950
display: block;
5051
float: none;
5152
margin-left: 0px;
52-
margin-top: 8px;
53+
margin-bottom: 8px;
5354

5455
.modebar-btn {
55-
display:block;
56+
display: block;
5657
text-align: center;
5758
}
5859
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.