@selfcommunity/react-theme-default 0.4.2-courses.117 → 0.4.2-courses.119

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.
@@ -1,6 +1,9 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ height: string;
6
+ };
4
7
  display: string;
5
8
  flexDirection: string;
6
9
  height: string;
@@ -6,6 +6,9 @@ const Component = {
6
6
  display: 'flex',
7
7
  flexDirection: 'column',
8
8
  height: '100%',
9
+ [theme.breakpoints.up('sm')]: {
10
+ height: '90%'
11
+ },
9
12
  overflowY: 'auto',
10
13
  padding: theme.spacing(2),
11
14
  justifyContent: 'space-between',
@@ -23,7 +23,7 @@ const Component = {
23
23
  '& .SCLessonDrawer-header': {
24
24
  minHeight: '60px',
25
25
  display: 'block',
26
- padding: theme.spacing(1, 1, 1, 2)
26
+ padding: theme.spacing(1.5)
27
27
  },
28
28
  '& .SCLessonDrawer-header-content': {
29
29
  display: 'flex',
@@ -5206,6 +5206,9 @@ declare const theme: {
5206
5206
  SCLessonCommentObjects: {
5207
5207
  styleOverrides: {
5208
5208
  root: ({ theme }: any) => {
5209
+ [x: number]: {
5210
+ height: string;
5211
+ };
5209
5212
  display: string;
5210
5213
  flexDirection: string;
5211
5214
  height: string;
@@ -1,6 +1,9 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ height: string;
6
+ };
4
7
  display: string;
5
8
  flexDirection: string;
6
9
  height: string;
@@ -4,6 +4,9 @@ const Component = {
4
4
  display: 'flex',
5
5
  flexDirection: 'column',
6
6
  height: '100%',
7
+ [theme.breakpoints.up('sm')]: {
8
+ height: '90%'
9
+ },
7
10
  overflowY: 'auto',
8
11
  padding: theme.spacing(2),
9
12
  justifyContent: 'space-between',
@@ -21,7 +21,7 @@ const Component = {
21
21
  '& .SCLessonDrawer-header': {
22
22
  minHeight: '60px',
23
23
  display: 'block',
24
- padding: theme.spacing(1, 1, 1, 2)
24
+ padding: theme.spacing(1.5)
25
25
  },
26
26
  '& .SCLessonDrawer-header-content': {
27
27
  display: 'flex',
@@ -5206,6 +5206,9 @@ declare const theme: {
5206
5206
  SCLessonCommentObjects: {
5207
5207
  styleOverrides: {
5208
5208
  root: ({ theme }: any) => {
5209
+ [x: number]: {
5210
+ height: string;
5211
+ };
5209
5212
  display: string;
5210
5213
  flexDirection: string;
5211
5214
  height: string;