File tree 2 files changed +17
-5
lines changed
2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 35
35
@import " ~antd/lib/notification/style/index" ;
36
36
@import ' inc/ant-variables' ;
37
37
38
+ // Increase z-indexes to avoid conflicts with some other libraries (e.g. Plotly)
39
+ @zindex-modal : 2000 ;
40
+ @zindex-modal-mask : 2000 ;
41
+ @zindex-message : 2010 ;
42
+ @zindex-notification : 2010 ;
43
+ @zindex-popover : 2030 ;
44
+ @zindex-dropdown : 2050 ;
45
+ @zindex-picker : 2050 ;
46
+ @zindex-tooltip : 2060 ;
47
+
48
+ .@{drawer-prefix-cls} {
49
+ & .help-drawer {
50
+ z-index : 3000 ; // help drawer should be topmost
51
+ }
52
+ }
53
+
38
54
// Remove bold in labels for Ant checkboxes and radio buttons
39
55
.ant-checkbox-wrapper ,
40
56
.ant-radio-wrapper {
59
75
}
60
76
61
77
// Fix for Ant dropdowns when they are used in Boootstrap modals
78
+ // ANGULAR_REMOVE_ME Remove when all dialogs will be migrated to React (also search and remove usages)
62
79
.ant-dropdown-in-bootstrap-modal {
63
80
z-index : 1050 ;
64
81
}
288
305
margin-top : 4px ;
289
306
}
290
307
291
- .ant-popover {
292
- z-index : 1000 ; // make sure it doesn't cover drawer
293
- }
294
-
295
308
// Notification overrides
296
309
.@{notification-prefix-cls} {
297
310
// vertical centering
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ class AddWidgetDialog extends React.Component {
113
113
className = "w-100"
114
114
defaultValue = { first ( this . state . selectedQuery . visualizations ) . id }
115
115
onChange = { visualizationId => this . selectVisualization ( this . state . selectedQuery , visualizationId ) }
116
- dropdownClassName = "ant-dropdown-in-bootstrap-modal"
117
116
>
118
117
{ visualizationGroups . map ( visualizations => (
119
118
< OptGroup label = { visualizations [ 0 ] . type } key = { visualizations [ 0 ] . type } >
You can’t perform that action at this time.
0 commit comments