l-min-components 1.0.336 → 1.0.340

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.336",
3
+ "version": "1.0.340",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -29,6 +29,7 @@ const Index = () => {
29
29
  fontSize: "16px",
30
30
  lineHeight: "22px",
31
31
  marginTop: "20px",
32
+ boxShadow: "0px 10px 20px 0px rgba(254, 191, 16, 0.25)"
32
33
  }}
33
34
  onClick={() => navigate(-1)}
34
35
  />
@@ -1,62 +1,67 @@
1
- import styled from "styled-components"
2
-
1
+ import styled from "styled-components";
3
2
 
4
3
  export const Container = styled.div`
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- background: #fff;
9
- padding-left: 5%;
10
- margin: -2%;
11
- height: 94vh;
12
-
13
- @media only screen and (max-width: 1500px) {
14
- margin: -3%;
15
- }
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ background: #fff;
8
+ padding-left: 100px;
9
+ height: 100vh;
16
10
 
17
- .right{
18
- display: grid;
19
- grid-gap: 10px;
11
+ @media only screen and (max-width: 1500px) {
12
+ margin: 0;
13
+ }
20
14
 
21
-
22
- h3{
23
- font-family: 'Nunito';
24
- font-style: normal;
25
- font-weight: 800;
26
- font-size: 40px;
27
- line-height: 65px;
28
- color: #313333;
29
- }
30
- h2{
31
- font-family: 'Nunito';
32
- font-style: normal;
33
- font-weight: 500;
34
- font-size: 38px;
35
- line-height: 65px;
36
- color: #313333;
37
- }
38
- p{
39
- font-family: 'Inter';
40
- font-style: normal;
41
- font-weight: 400;
42
- font-size: 16px;
43
- line-height: 32px;
44
- color: #18191F;
45
- // width: 100%;
46
- }
15
+ .right {
16
+ display: grid;
17
+ grid-gap: 10px;
47
18
 
48
- @media only screen and (max-width: 1800px) {
49
-
50
- }
19
+ h3 {
20
+ font-family: "Nunito";
21
+ font-style: normal;
22
+ font-weight: 800;
23
+ font-size: 45px;
24
+ line-height: 45px;
25
+ color: #313333;
26
+ margin-bottom: 10px;
27
+ }
28
+ h2 {
29
+ font-family: "Nunito";
30
+ font-style: normal;
31
+ font-weight: 500;
32
+ font-size: 45px;
33
+ line-height: 65px;
34
+ color: #313333;
35
+ }
36
+ p {
37
+ font-family: "Inter", sans-serif;
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ font-size: 18px;
41
+ line-height: 32px;
42
+ color: #18191f;
43
+ max-width: 536px;
44
+ // width: 100%;
51
45
  }
52
46
 
53
- .left{
54
- @media only screen and (max-width: 1336px) {
55
- img{
56
- width: 773px;
57
- }
58
- }
47
+ @media only screen and (max-width: 1800px) {
59
48
  }
49
+ }
60
50
 
51
+ .left {
52
+ width: 80%;
53
+ display: flex;
54
+ align-items: end;
55
+ justify-content: end;
56
+ /* align-self: flex-end; */
57
+ img {
58
+ width: 100%;
59
+ height: 100%;
60
+ }
61
+ @media only screen and (max-width: 1336px) {
62
+ img {
63
+ /* width: 773px; */
64
+ }
65
+ }
66
+ }
61
67
  `;
62
-
@@ -106,7 +106,8 @@ const SideMenu = ({
106
106
  return (statusText = true);
107
107
  }
108
108
  if (
109
- window.location.pathname.includes("/enterprise/reports")
109
+ window.location.pathname.includes("/enterprise/reports") &&
110
+ path === "/enterprise/reports/students"
110
111
  ) {
111
112
  return (statusText = true);
112
113
  }
@@ -213,14 +214,11 @@ const SideMenu = ({
213
214
  window.location.href = `https://developer.learngual.com${path}`;
214
215
  }
215
216
 
216
- if (
217
- window.location.hostname.includes("staging")
218
- ) {
217
+ if (window.location.hostname.includes("staging")) {
219
218
  window.location.href = `https://559staging.learngual.com${path}`;
220
219
  } else if (window.location.hostname.includes("localhost")) {
221
220
  window.location.href = `http://localhost:${window.location.port}${path}`;
222
- }
223
-
221
+ }
224
222
  }}
225
223
  // to={route.path}
226
224
  key={index}
@@ -7,6 +7,7 @@ export const UserCardContainer = styled.div`
7
7
  justify-content: center;
8
8
  gap: 10px;
9
9
  align-items: center;
10
+ height: 100px;
10
11
  margin-bottom: ${({ isOpen }) => (isOpen ? "25px" : "80px")};
11
12
  `;
12
13
  export const UserDetail = styled.div`