File tree Expand file tree Collapse file tree 7 files changed +35
-70
lines changed
markdown/CodeButtonBlock/components
components/load-sample-data
modules/key-details/components
list-details/remove-list-elements Expand file tree Collapse file tree 7 files changed +35
-70
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { setDBConfigStorageField } from 'uiSrc/services'
7
7
import { ConfigDBStorageItem } from 'uiSrc/constants/storage'
8
8
import { FeatureFlagComponent } from 'uiSrc/components'
9
9
import { Spacer } from 'uiSrc/components/base/layout/spacer'
10
+ import { Row } from 'uiSrc/components/base/layout/flex'
10
11
import {
11
12
PrimaryButton ,
12
13
SecondaryButton ,
@@ -67,7 +68,7 @@ const RunConfirmationPopover = ({ onApply }: Props) => {
67
68
aria-label = "checkbox do not show agan"
68
69
/>
69
70
< div className = { styles . popoverFooter } >
70
- < div >
71
+ < Row gap = "m" justify = "end" >
71
72
< FeatureFlagComponent name = { FeatureFlags . envDependent } >
72
73
< SecondaryButton
73
74
size = "s"
@@ -86,7 +87,7 @@ const RunConfirmationPopover = ({ onApply }: Props) => {
86
87
>
87
88
Run
88
89
</ PrimaryButton >
89
- </ div >
90
+ </ Row >
90
91
</ div >
91
92
</ >
92
93
)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { truncateText } from 'uiSrc/utils'
10
10
import { FlexItem , Row } from 'uiSrc/components/base/layout/flex'
11
11
import { TitleSize , Title } from 'uiSrc/components/base/text/Title'
12
12
import { Text } from 'uiSrc/components/base/text'
13
+ import { Spacer } from 'uiSrc/components/base/layout'
13
14
import { RiBadge } from 'uiSrc/components/base/display/badge/RiBadge'
14
15
15
16
import styles from '../styles.module.scss'
@@ -31,10 +32,9 @@ const Notification = (props: Props) => {
31
32
>
32
33
{ notification . title }
33
34
</ Title >
34
-
35
+ < Spacer size = "s" />
35
36
< Text
36
37
size = "s"
37
- color = "subdued"
38
38
className = { cx ( 'notificationHTMLBody' , styles . notificationBody ) }
39
39
data-testid = "notification-body"
40
40
>
@@ -43,7 +43,7 @@ const Notification = (props: Props) => {
43
43
44
44
< Row className = { styles . notificationFooter } align = "center" justify = "start" >
45
45
< FlexItem >
46
- < Text size = "xs" color = "subdued" data-testid = "notification-date" >
46
+ < Text size = "xs" data-testid = "notification-date" >
47
47
{ format ( notification . timestamp * 1000 , NOTIFICATION_DATE_FORMAT ) }
48
48
</ Text >
49
49
</ FlexItem >
Original file line number Diff line number Diff line change 1
1
.popover {
2
2
min-width : 380px !important ;
3
3
}
4
-
5
- .buttonWrapper {
6
- .loadDataBtn {
7
- height : 36px !important ;
8
-
9
- :global (.euiButton__text ) {
10
- font-size : 14px !important ;
11
- font-weight : 400 !important ;
12
- }
13
- }
14
- }
15
-
Original file line number Diff line number Diff line change @@ -261,24 +261,30 @@ const RemoveListElements = (props: Props) => {
261
261
/>
262
262
</ FormField >
263
263
</ FlexItem >
264
- < FlexItem grow style = { { width : '100%' } } >
265
- < FormField
266
- additionalText = { ! canRemoveMultiple ? InfoBoxPopover ( ) : < > </ > }
267
- >
268
- < TextInput
269
- name = { config . count . name }
270
- id = { config . count . name }
271
- maxLength = { 200 }
272
- placeholder = { config . count . placeholder }
273
- value = { count }
274
- data-testid = "count-input"
275
- autoComplete = "off"
276
- onChange = { handleCountChange }
277
- ref = { countInput }
278
- disabled = { ! canRemoveMultiple }
279
- />
280
- </ FormField >
281
- </ FlexItem >
264
+ < Row grow >
265
+ < FlexItem grow >
266
+ < FormField >
267
+ < TextInput
268
+ name = { config . count . name }
269
+ id = { config . count . name }
270
+ maxLength = { 200 }
271
+ placeholder = { config . count . placeholder }
272
+ value = { count }
273
+ data-testid = "count-input"
274
+ autoComplete = "off"
275
+ onChange = { handleCountChange }
276
+ ref = { countInput }
277
+ disabled = { ! canRemoveMultiple }
278
+ />
279
+ </ FormField >
280
+ </ FlexItem >
281
+
282
+ { ! canRemoveMultiple ? (
283
+ < FlexItem > { InfoBoxPopover ( ) } </ FlexItem >
284
+ ) : (
285
+ < > </ >
286
+ ) }
287
+ </ Row >
282
288
</ Row >
283
289
</ FlexItem >
284
290
</ EntryContent >
Original file line number Diff line number Diff line change 7
7
} from 'uiSrc/components/base/forms/buttons'
8
8
import { Text } from 'uiSrc/components/base/text'
9
9
import { RiPopover } from 'uiSrc/components/base'
10
- import styles from '../../styles.module.scss'
10
+ import { Row } from 'uiSrc/components/base/layout/flex'
11
+ import { Spacer } from 'uiSrc/components/base/layout'
11
12
12
13
interface ConfirmOverwriteProps {
13
14
isOpen : boolean
@@ -37,8 +38,8 @@ const ConfirmOverwrite = ({
37
38
You already have the same JSON key. If you proceed, a value of the
38
39
existing JSON key will be overwritten.
39
40
</ Text >
40
-
41
- < div className = { styles . confirmDialogActions } >
41
+ < Spacer size = "l" />
42
+ < Row justify = "end" gap = "m" >
42
43
< SecondaryButton
43
44
aria-label = "Cancel"
44
45
size = "small"
@@ -56,7 +57,7 @@ const ConfirmOverwrite = ({
56
57
>
57
58
Overwrite
58
59
</ PrimaryButton >
59
- </ div >
60
+ </ Row >
60
61
</ RiPopover >
61
62
)
62
63
Original file line number Diff line number Diff line change 269
269
max-width : none ;
270
270
}
271
271
272
- .confirmDialogActions {
273
- display : flex ;
274
- justify-content : flex-end ;
275
- margin-top : 16px ;
276
-
277
- button {
278
- margin-left : 8px ;
279
-
280
- & :first-of-type {
281
- margin-left : 0 ;
282
- }
283
- }
284
- }
285
-
286
272
.actions {
287
273
margin-top : 1em ;
288
274
display : flex ;
Original file line number Diff line number Diff line change 35
35
}
36
36
37
37
.popoverLikeTooltip {
38
- border : none ;
39
38
max-width : 267px !important ;
40
- background-color : var (--euiTooltipBackgroundColor ) !important ;
41
- .euiPopover__panelArrow.euiPopover__panelArrow--bottom :after {
42
- border-bottom-color : var (--euiTooltipBackgroundColor ) !important ;
43
- }
44
-
45
- .euiPopover__panelArrow.euiPopover__panelArrow--right :after {
46
- border-right-color : var (--euiTooltipBackgroundColor ) !important ;
47
- }
48
-
49
- .euiPopover__panelArrow.euiPopover__panelArrow--left :after {
50
- border-left-color : var (--euiTooltipBackgroundColor ) !important ;
51
- }
52
-
53
- .euiPopover__panelArrow.euiPopover__panelArrow--top :after {
54
- border-top-color : var (--euiTooltipBackgroundColor ) !important ;
55
- }
56
39
}
You can’t perform that action at this time.
0 commit comments