File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
src/cloud/components/Views Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,13 @@ const ListViewHeader: AppComponent<ViewManagerContentRowProps> = ({
21
21
onSelect,
22
22
} ) => {
23
23
return (
24
- < StyledContentManagerRow className = { cc ( [ 'cm__row' , className ] ) } >
24
+ < StyledContentManagerRow
25
+ className = { cc ( [
26
+ 'cm__row' ,
27
+ ! showCheckbox && 'cm__row--no-checkbox' ,
28
+ className ,
29
+ ] ) }
30
+ >
25
31
{ showCheckbox && (
26
32
< Checkbox
27
33
className = { cc ( [ 'row__checkbox' , checked && 'row__checkbox--checked' ] ) }
@@ -51,6 +57,12 @@ const StyledContentManagerRow = styled.div`
51
57
font-size: 13px;
52
58
padding: 0 ${ ( { theme } ) => theme . sizes . spaces . df } px;
53
59
60
+ &.cm__row--no-checkbox {
61
+ .cm__row__label {
62
+ margin-left: ${ ( { theme } ) => theme . sizes . spaces . xl - 4 } px;
63
+ }
64
+ }
65
+
54
66
.cm__row__label {
55
67
color: ${ ( { theme } ) => theme . colors . text . subtle } ;
56
68
border-bottom-color: transparent;
Original file line number Diff line number Diff line change @@ -410,6 +410,13 @@ const Container = styled.div`
410
410
flex: 0 0 auto;
411
411
}
412
412
413
+ .table:not(.table--with-checkbox) {
414
+ .table__header:first-child > div:first-child,
415
+ .table-row > div:first-child .navigation__item {
416
+ padding-left: ${ ( { theme } ) => theme . sizes . spaces . md } px !important;
417
+ }
418
+ }
419
+
413
420
.content__manager__list__header--margin {
414
421
margin-top: ${ ( { theme } ) => theme . sizes . spaces . l } px !important;
415
422
}
You can’t perform that action at this time.
0 commit comments