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 1515 bottom : 0 ;
1616 overflow : auto ;
1717 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- }
2418}
2519
2620body :global(.expanded ) {
Original file line number Diff line number Diff line change 66 * the root directory of this source tree.
77 */
88import BrowserRow from 'components/BrowserRow/BrowserRow.react' ;
9- import * as browserUtils from 'lib/browserUtils' ;
109import DataBrowserHeaderBar from 'components/DataBrowserHeaderBar/DataBrowserHeaderBar.react' ;
1110import Editor from 'dashboard/Data/Browser/Editor.react' ;
1211import EmptyState from 'components/EmptyState/EmptyState.react' ;
@@ -429,7 +428,7 @@ export default class BrowserTable extends React.Component {
429428 }
430429
431430 return (
432- < div className = { [ styles . browser , browserUtils . isSafari ( ) ? styles . safari : '' ] . join ( ' ' ) } >
431+ < div className = { styles . browser } >
433432 { table }
434433 < DataBrowserHeaderBar
435434 selected = {
Original file line number Diff line number Diff line change 66 * the root directory of this source tree.
77 */
88
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-
139export function isChrome ( ) {
1410 return / C h r o m e / . test ( navigator . userAgent ) && / G o o g l e I n c / . test ( navigator . vendor ) ;
1511}
You can’t perform that action at this time.
0 commit comments