Skip to content

Commit fd3a74f

Browse files
committed
media for background added
1 parent ba4cb14 commit fd3a74f

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

‎front/src/common-app/components/appbar/appbar.component.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const Logo: React.FC = () => {
4040
>
4141
<title>new-logo</title>
4242
<path
43-
fill="#eee"
43+
fill="#fff"
4444
d="M113.74,106.89a32.15,32.15,0,0,0-6.26-5.84c-3-2.22-5.5-2.29-9.31-2.28-17.72,0-33.24,0-50.95,0-.73,0-1,.1-1.36,1.33,6.69,4.52,9.15,9.58,11.83,17.15a58.42,58.42,0,0,1,2.72,13.08c.1.9.27,1.79.39,2.59,4.47.53,56.53.56,61.54,0C122.09,123.21,119.7,114.42,113.74,106.89Zm-45.5,11.53a8.64,8.64,0,0,1-3.06-2.2,3.24,3.24,0,0,1,1.65-1.37c2.52-1,8.26-2.32,12.41-3.4a1.23,1.23,0,0,1,1,.64,1.27,1.27,0,0,1-.52,1.14c-1.78.65-3.61,1.2-5.43,1.76-1.17.35-1.15.44-2.33.77-.81.3-.39.74,0,1,3.22,1.35,5.3,2.41,8.52,3.77a2.62,2.62,0,0,1,1.84,2.24M93.66,121a9.4,9.4,0,0,1-2.31-.23c1.16-1.77,1.16-1.76,6.17-3.11,2.1-.57,4.2-1.18,6.48-1.82-1.09-1.77-2.78-2-4.17-2.65-1.72-.82-3.53-1.47-5.21-2.35-.86-.45-.78-1.28.12-2.08a63.85,63.85,0,0,1,13.34,6c.47.28.73.9,1.11,1.39C106.67,117.6,98.32,120.22,93.66,121Z"
4545
transform="translate(-13.98 -11.06)"
4646
/>

‎front/src/pods/create-session/create-session.styles.ts‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
import { css } from 'emotion';
22
import { theme } from 'core/theme';
33
import background from 'assets/bg-create-session.png';
4-
const { spacing } = theme;
4+
const { spacing, breakpoints } = theme;
55

66
export const mainContainer = css`
77
position: relative;
88
background-image: url(${background});
99
background-repeat: no-repeat;
1010
background-position: right bottom;
11+
display: flex;
12+
align-items: center;
1113
margin: 0;
1214
padding: 0;
1315
width: 100%;
1416
height: calc(100vh - ${spacing(80)});
17+
@media screen and (max-width: ${breakpoints.values.md}px) {
18+
background-image: none;
19+
}
1520
`;
1621

1722
export const buttonContainer = css`
1823
width: 25rem;
19-
position: absolute;
2024
display: flex;
2125
flex-direction: column;
2226
align-items: center;
2327
margin-left: 15%;
24-
top: 50%;
25-
transform: translateY(-50%);
28+
@media screen and (max-width: ${breakpoints.values.md}px) {
29+
margin-left: auto;
30+
margin-right: auto;
31+
}
2632
`;
2733

2834
export const descriptionText = css`

0 commit comments

Comments
 (0)