File tree Expand file tree Collapse file tree 6 files changed +16
-20
lines changed
groupDetails/__snapshots__ Expand file tree Collapse file tree 6 files changed +16
-20
lines changed Original file line number Diff line number Diff line change 1
1
import PropTypes from 'prop-types' ;
2
2
import React from 'react' ;
3
3
import { browserHistory } from 'react-router' ;
4
+ import { css } from 'react-emotion' ;
4
5
5
6
import utils from 'app/utils' ;
6
7
import { t } from 'app/locale' ;
7
8
9
+ const streamCss = css `
10
+ margin : 20px 0 0 0 ;
11
+
12
+ .icon-arrow-right ,
13
+ .icon-arrow-left {
14
+ font-size : 20px !important ;
15
+ }
16
+ ` ;
17
+
8
18
export default class Pagination extends React . Component {
9
19
static propTypes = {
10
20
pageLinks : PropTypes . string ,
@@ -25,7 +35,7 @@ export default class Pagination extends React.Component {
25
35
query,
26
36
} ) ;
27
37
} ,
28
- className : 'stream-pagination' ,
38
+ className : streamCss ,
29
39
} ;
30
40
31
41
render ( ) {
Original file line number Diff line number Diff line change 995
995
}
996
996
}
997
997
998
- /* *
999
- * Stream Pagination
1000
- * ============================================================================
1001
- */
1002
-
1003
- .stream-pagination {
1004
- margin : 20px 0 0 0 ;
1005
-
1006
- .icon-arrow-right ,
1007
- .icon-arrow-left {
1008
- font-size : 20px !important ;
1009
- }
1010
- }
1011
-
1012
998
/* *
1013
999
* Empty Stream/Empty Alert box
1014
1000
* ============================================================================
Original file line number Diff line number Diff line change @@ -1084,7 +1084,7 @@ exports[`OrganizationTeamProjects Should render 1`] = `
1084
1084
</Panel >
1085
1085
<Pagination
1086
1086
api = { Client {}}
1087
- className = " stream-pagination "
1087
+ className = " css-1yt0wm7-streamCss "
1088
1088
location = {
1089
1089
Object {
1090
1090
" query" : Object {},
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ exports[`ProjectDebugFiles renders 1`] = `
285
285
</Component >
286
286
</Panel >
287
287
<Pagination
288
- className = " stream-pagination "
288
+ className = " css-1yt0wm7-streamCss "
289
289
onCursor = { [Function ]}
290
290
/>
291
291
</ProjectDebugSymbols >
@@ -349,7 +349,7 @@ exports[`ProjectDebugFiles renders empty 1`] = `
349
349
</PanelBody >
350
350
</Panel >
351
351
<Pagination
352
- className = " stream-pagination "
352
+ className = " css-1yt0wm7-streamCss "
353
353
onCursor = { [Function ]}
354
354
/>
355
355
</Fragment >
Original file line number Diff line number Diff line change @@ -1878,7 +1878,7 @@ exports[`Issues Similar View renders with mocked data 1`] = `
1878
1878
</div >
1879
1879
</div >
1880
1880
<Pagination
1881
- className = " stream-pagination "
1881
+ className = " css-1yt0wm7-streamCss "
1882
1882
onCursor = { [Function ]}
1883
1883
/>
1884
1884
</div >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ exports[`groupEvents renders 1`] = `
53
53
</PanelBody >
54
54
</Panel >
55
55
<Pagination
56
- className = " stream-pagination "
56
+ className = " css-1yt0wm7-streamCss "
57
57
onCursor = { [Function ]}
58
58
/>
59
59
</div >
You can’t perform that action at this time.
0 commit comments