Skip to content

Commit

Permalink
Reduce spacing between label and slider control (WordPress#23580)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis committed Jul 13, 2020
1 parent 0335366 commit 2a67de0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.cellRowStyles {
min-height: 48px;
margin-bottom: -37px;
width: 100%;
justify-content: space-between;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.cellRowStyles {
min-height: 48px;
margin-bottom: -27px;
width: 100%;
justify-content: space-between;
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { withPreferredColorScheme } from '@wordpress/compose';
*/
import Cell from './cell';
import styles from './range-cell.scss';
import rowStyles from './cellRowStyles.scss';
import borderStyles from './borderStyles.scss';

class BottomSheetRangeCell extends Component {
Expand Down Expand Up @@ -179,7 +180,7 @@ class BottomSheetRangeCell extends Component {
<Cell
{ ...cellProps }
cellContainerStyle={ styles.cellContainerStyles }
cellRowContainerStyle={ styles.cellRowStyles }
cellRowContainerStyle={ rowStyles.cellRowStyles }
accessibilityRole={ 'none' }
value={ '' }
editable={ false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,3 @@
flex-direction: column;
align-items: flex-start;
}

.cellRowStyles {
min-height: 48px;
margin-bottom: -13px;
width: 100%;
justify-content: space-between;
}

0 comments on commit 2a67de0

Please sign in to comment.