This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-14
lines changed
ArticleActionsPanel/styles Expand file tree Collapse file tree 4 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import Img from '@Img'
5
5
6
6
export const Wrapper = styled . div `
7
7
${ cs . flexColumn ( ) } ;
8
- padding: 10px ;
9
- padding-left: 15px ;
8
+ padding: 5px ;
9
+ padding-left: 10px ;
10
10
padding-bottom: 0;
11
11
`
12
12
export const Option = styled . div `
Original file line number Diff line number Diff line change @@ -7,9 +7,8 @@ export const Wrapper = styled.div`
7
7
${ cs . flexColumn ( 'align-start' ) } ;
8
8
9
9
width: 110px;
10
- padding: 15px ;
10
+ padding: 10px ;
11
11
padding-right: 5px;
12
- margin: 0 10px;
13
12
`
14
13
export const Title = styled . div `
15
14
font-size: 0.9rem;
Original file line number Diff line number Diff line change @@ -3,15 +3,12 @@ import { theme } from '@utils'
3
3
4
4
// margin: -20px;
5
5
export const ContentContainer = styled . div `
6
- margin-top: -8px;
7
- margin-left: -6px;
8
- border-radius: 2px;
9
- background: ${ theme ( 'popover.bg' ) } ;
10
- border: 1px solid;
11
- border-top: 2px solid;
12
- border-color: ${ theme ( 'popover.borderColor' ) } ;
13
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
14
- position: relative;
6
+ // background: ${ theme ( 'popover.bg' ) } ;
7
+ // border: 1px solid;
8
+ // border-top: 2px solid;
9
+ // border-color: ${ theme ( 'popover.borderColor' ) } ;
10
+ // box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
11
+ // position: relative;
15
12
`
16
13
17
14
export const holder = 1
Original file line number Diff line number Diff line change 1
1
import { createGlobalStyle } from 'styled-components'
2
2
import { lighten } from 'polished'
3
3
4
- import { theme } from '@utils'
4
+ import { theme , cs } from '@utils'
5
5
6
6
// move ant style to seperate file
7
7
const AntUIOverWrite = createGlobalStyle `
@@ -377,6 +377,24 @@ const AntUIOverWrite = createGlobalStyle`
377
377
color: ${ theme ( 'table.text' ) } ;
378
378
opacity: 0.6;
379
379
}
380
+
381
+ .ant-popover {
382
+ z-index: ${ cs . zIndex . popover } ;
383
+ }
384
+ .ant-popover-inner {
385
+ background-color: ${ theme ( 'popover.bg' ) } !important;
386
+ border: 1px solid;
387
+ border-color: ${ theme ( 'popover.borderColor' ) } !important;
388
+ z-index: ${ cs . zIndex . popover } ;
389
+ }
390
+ .ant-popover-arrow {
391
+ background-color: ${ theme ( 'popover.borderColor' ) } !important;
392
+ border-radius: 3px;
393
+ z-index: ${ cs . zIndex . popover - 1 } ;
394
+ }
395
+ .ant-popover-inner-content {
396
+ padding: 5px;
397
+ }
380
398
`
381
399
382
400
export default AntUIOverWrite
You can’t perform that action at this time.
0 commit comments