Skip to content

Commit ebb7b12

Browse files
Add custom CSS class "modebar--custom"
1 parent 318530e commit ebb7b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modebar/modebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ proto.update = function(graphInfo, buttons) {
4545
this.element.setAttribute('id', modeBarId);
4646
this.element.setAttribute('role', 'toolbar');
4747
this._uid = modeBarId;
48-
this.element.className = 'modebar';
48+
this.element.className = 'modebar modebar--custom';
4949
if(context.displayModeBar === 'hover') this.element.className += ' modebar--hover ease-bg';
5050

5151
if(fullLayout.modebar.orientation === 'v') {

0 commit comments

Comments
 (0)