orc-shared 5.9.0-dev.6 → 5.9.0-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
41
41
  flexDirection: function flexDirection(props) {
42
42
  return props.row ? "row" : "column";
43
43
  },
44
- flexWrap: "wrap"
44
+ flexWrap: "wrap",
45
+ marginLeft: "8px"
45
46
  },
46
47
  errorText: {
47
48
  marginTop: theme.spacing(0.5),
@@ -64,7 +65,8 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
64
65
  },
65
66
  checkboxItem: function checkboxItem(props) {
66
67
  return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
67
- display: "flex"
68
+ display: "flex",
69
+ flex: 1
68
70
  }, theme.breakpoints.up("xs"), {}), theme.breakpoints.up("sm"), {}), theme.breakpoints.up("md"), props.row ? {
69
71
  width: "45%"
70
72
  } : {}), theme.breakpoints.up("lg"), props.row ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orc-shared",
3
- "version": "5.9.0-dev.6",
3
+ "version": "5.9.0-dev.7",
4
4
  "description": "Shared code for Orckestra applications",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
@@ -16,6 +16,7 @@ const useStyles = makeStyles(theme => ({
16
16
  display: "flex",
17
17
  flexDirection: props => (props.row ? "row" : "column"),
18
18
  flexWrap: "wrap",
19
+ marginLeft: "8px",
19
20
  },
20
21
  errorText: {
21
22
  marginTop: theme.spacing(0.5),
@@ -38,7 +39,8 @@ const useStyles = makeStyles(theme => ({
38
39
  },
39
40
  checkboxItem: props => ({
40
41
  display: "flex",
41
- [theme.breakpoints.up("xs")]: {},
42
+ flex: 1,
43
+ [theme.breakpoints.up("xs")]: {}, // the breakpoints are used to force the text to wrap
42
44
  [theme.breakpoints.up("sm")]: {},
43
45
  [theme.breakpoints.up("md")]: props.row ? { width: "45%" } : {},
44
46
  [theme.breakpoints.up("lg")]: props.row ? { width: "30%" } : {},