[common] Fix Bug 59787

This commit is contained in:
SergeyEzhin 2022-12-21 17:00:44 +04:00
parent d7bdee36bf
commit a539da3a3d
2 changed files with 9 additions and 6 deletions

View file

@ -32,7 +32,7 @@ const PageAbout = props => {
const nameEditor = (_t.textEditor || editors[editorType]).toUpperCase();
return (
<Page className={Device.phone ? "about about_phone" : "about about_tablet"}>
<Page className={"about" + (!Device.phone ? " about_tablet" : Device.ios ? " about_phoneIos" : " about_phoneAndroid")}>
<Navbar title={_t.textAbout} backLink={_t.textBack} />
{licInfo && typeof licInfo == 'object' && typeof(customer) == 'object' ? (
<Fragment>

View file

@ -2,20 +2,23 @@
// @common-image-path - defined in webpack config
.about {
padding-bottom: 30px;
.page-content {
text-align: center /*rtl:ignore*/;
display: flex;
flex-direction: column;
}
&_phone {
padding-top: 178px;
&_phoneIos {
padding-top: 120px;
padding-bottom: 30px;
}
&_phoneAndroid {
padding-top: 60px;
padding-bottom: 16px;
}
&_tablet {
// padding-top: 104px;
padding-top: 12px;
padding-bottom: 12px;
}