Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the login/register page - mobile design #206

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/assets/scss/components/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
}
}

.eos-icons-lang {
border-radius: 24px;
height: 24px;
padding: 7px;
text-align: center;
vertical-align: sub;
width: 24px;
}

&:hover .dropdown-hover {
display: block;
}
Expand Down Expand Up @@ -102,3 +111,13 @@
padding: 0px;
}
}

@media only screen and (max-width: 360px) {
.dropdown-container {
.eos-icons-lang {
border-radius: 24px;
padding: 0;
margin: 5px 0;
}
}
}
10 changes: 10 additions & 0 deletions src/assets/scss/pages/authentication.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
visibility: hidden;
}

.image-logo {
width: 120px !important;
}

@media only screen and (max-width: 1120px) {
.authentication {
height: 100%;
Expand Down Expand Up @@ -197,6 +201,12 @@
}
}

@media only screen and (max-width: 360px) {
.image-logo {
width: 95px !important;
}
}

@media only screen and (max-width: 284px) {
.cookies-mobile {
padding: 8px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/AuthWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const AuthRightContainer = ({ children, logo }) => {
Cookies and Privacy policy
</a>
</div>

<br />
<div className='cookies-mobile'>
<p>
{t('authentication:footer-left')} -{' '}
Expand Down
4 changes: 2 additions & 2 deletions src/components/LanguageDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const LanguageDropdown = (props) => {
onClick={handleButtonClick}
>
{dropdownState ? (
<EOS_KEYBOARD_ARROW_UP className='eos-icons' />
<EOS_KEYBOARD_ARROW_UP className='eos-icons eos-icons-lang' />
) : (
<EOS_KEYBOARD_ARROW_DOWN className='eos-icons' />
<EOS_KEYBOARD_ARROW_DOWN className='eos-icons eos-icons-lang' />
)}
&nbsp; <div className='curr'> Language </div>
</Button>
Expand Down