File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 15
15
bottom : 0 ;
16
16
overflow : auto ;
17
17
padding-top : 30px ;
18
- // fix for safari scrolling issue:
19
- // https://css-tricks.com/forums/topic/safari-for-ios-z-index-ordering-bug-while-scrolling-a-page-with-a-fixed-element/
20
- // only applying to safari as a side effect of this is emptystate component centering is off
21
- & .safari {
22
- -webkit-transform : translate3d (0 ,0 ,0 );
23
- }
24
18
}
25
19
26
20
body :global(.expanded ) {
Original file line number Diff line number Diff line change 6
6
* the root directory of this source tree.
7
7
*/
8
8
import BrowserRow from 'components/BrowserRow/BrowserRow.react' ;
9
- import * as browserUtils from 'lib/browserUtils' ;
10
9
import DataBrowserHeaderBar from 'components/DataBrowserHeaderBar/DataBrowserHeaderBar.react' ;
11
10
import Editor from 'dashboard/Data/Browser/Editor.react' ;
12
11
import EmptyState from 'components/EmptyState/EmptyState.react' ;
@@ -429,7 +428,7 @@ export default class BrowserTable extends React.Component {
429
428
}
430
429
431
430
return (
432
- < div className = { [ styles . browser , browserUtils . isSafari ( ) ? styles . safari : '' ] . join ( ' ' ) } >
431
+ < div className = { styles . browser } >
433
432
{ table }
434
433
< DataBrowserHeaderBar
435
434
selected = {
Original file line number Diff line number Diff line change 6
6
* the root directory of this source tree.
7
7
*/
8
8
9
- export function isSafari ( ) {
10
- return / S a f a r i / . test ( navigator . userAgent ) && / A p p l e C o m p u t e r / . test ( navigator . vendor ) ;
11
- }
12
-
13
9
export function isChrome ( ) {
14
10
return / C h r o m e / . test ( navigator . userAgent ) && / G o o g l e I n c / . test ( navigator . vendor ) ;
15
11
}
You can’t perform that action at this time.
0 commit comments