Fixed scroll issue on login screen

This commit is contained in:
Ajay Bura 2021-09-14 08:33:17 +05:30
parent 470fdd62bb
commit 7ba1aabc09

View file

@ -10,6 +10,7 @@ import Text from '../../atoms/text/Text';
import Button from '../../atoms/button/Button'; import Button from '../../atoms/button/Button';
import Input from '../../atoms/input/Input'; import Input from '../../atoms/input/Input';
import Spinner from '../../atoms/spinner/Spinner'; import Spinner from '../../atoms/spinner/Spinner';
import ScrollView from '../../atoms/scroll/ScrollView';
import CinnySvg from '../../../../public/res/svg/cinny.svg'; import CinnySvg from '../../../../public/res/svg/cinny.svg';
@ -266,20 +267,22 @@ Auth.propTypes = {
function StaticWrapper({ children }) { function StaticWrapper({ children }) {
return ( return (
<div className="auth__wrapper flex--center"> <ScrollView invisible>
<div className="auth-card"> <div className="auth__wrapper flex--center">
<div className="auth-card__interactive flex-v"> <div className="auth-card">
<div className="app-ident flex"> <div className="auth-card__interactive flex-v">
<img className="app-ident__logo noselect" src={CinnySvg} alt="Cinny logo" /> <div className="app-ident flex">
<div className="app-ident__text flex-v--center"> <img className="app-ident__logo noselect" src={CinnySvg} alt="Cinny logo" />
<Text variant="h2">Cinny</Text> <div className="app-ident__text flex-v--center">
<Text variant="b2">Yet another matrix client</Text> <Text variant="h2">Cinny</Text>
<Text variant="b2">Yet another matrix client</Text>
</div>
</div> </div>
{ children }
</div> </div>
{ children }
</div> </div>
</div> </div>
</div> </ScrollView>
); );
} }