File tree Expand file tree Collapse file tree 2 files changed +27
-11
lines changed
packages/pf4-component-mapper/src/files Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 7
7
Bullseye ,
8
8
Button ,
9
9
ButtonVariant ,
10
+ Flex ,
11
+ FlexItem ,
10
12
Grid ,
11
13
GridItem ,
12
14
Text ,
@@ -203,33 +205,33 @@ const DualList = ({
203
205
</ Grid >
204
206
</ GridItem >
205
207
< GridItem md = { 2 } >
206
- < Bullseye >
207
- < Grid >
208
- < GridItem md = { 12 } sm = { 3 } >
208
+ < Bullseye className = "ddorg__pf4-component-mapper__dual-list-select-buttons" >
209
+ < Flex direction = { { md : 'column' , sm : 'row' } } >
210
+ < FlexItem >
209
211
< Button disabled = { leftValues . length === 0 } onClick = { handleMoveRight } title = { moveRightTitle } variant = "plain" >
210
212
< AngleRightIcon size = "md" />
211
213
</ Button >
212
- </ GridItem >
214
+ </ FlexItem >
213
215
{ allToRight && (
214
- < GridItem md = { 12 } sm = { 3 } >
216
+ < FlexItem >
215
217
< Button disabled = { leftValues . length === 0 } onClick = { handleClearLeftValues } title = { moveAllRightTitle } variant = "plain" >
216
218
< AngleDoubleRightIcon size = "md" />
217
219
</ Button >
218
- </ GridItem >
220
+ </ FlexItem >
219
221
) }
220
222
{ allToLeft && (
221
- < GridItem md = { 12 } sm = { 3 } >
223
+ < FlexItem >
222
224
< Button disabled = { rightValues . length === 0 } onClick = { handleClearRightValues } title = { moveAllLeftTitle } variant = "plain" >
223
225
< AngleDoubleLeftIcon size = "md" />
224
226
</ Button >
225
- </ GridItem >
227
+ </ FlexItem >
226
228
) }
227
- < GridItem md = { 12 } sm = { 3 } >
229
+ < FlexItem >
228
230
< Button disabled = { rightValues . length === 0 } onClick = { handleMoveLeft } title = { moveLeftTitle } variant = "plain" >
229
231
< AngleLeftIcon size = "md" />
230
232
</ Button >
231
- </ GridItem >
232
- </ Grid >
233
+ </ FlexItem >
234
+ </ Flex >
233
235
</ Bullseye >
234
236
</ GridItem >
235
237
< GridItem md = { 5 } >
Original file line number Diff line number Diff line change 25
25
background-color : var (--pf-global--active-color--400 );
26
26
color : white
27
27
}
28
+
29
+ @media only screen and (max-width : 768px ) {
30
+ .ddorg__pf4-component-mapper__dual-list-select-buttons {
31
+ padding-top : var (--pf-global--gutter--md );
32
+ svg {
33
+ -webkit-transform : rotate (90deg );
34
+ -moz-transform : rotate (90deg );
35
+ -ms-transform : rotate (90deg );
36
+ -o-transform : rotate (90deg );
37
+ transform : rotate (90deg );
38
+ display : inline-block ;
39
+ }
40
+ }
41
+ }
You can’t perform that action at this time.
0 commit comments