[common] Fix Bug 59787
This commit is contained in:
parent
d7bdee36bf
commit
a539da3a3d
|
@ -32,7 +32,7 @@ const PageAbout = props => {
|
||||||
const nameEditor = (_t.textEditor || editors[editorType]).toUpperCase();
|
const nameEditor = (_t.textEditor || editors[editorType]).toUpperCase();
|
||||||
|
|
||||||
return (
|
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} />
|
<Navbar title={_t.textAbout} backLink={_t.textBack} />
|
||||||
{licInfo && typeof licInfo == 'object' && typeof(customer) == 'object' ? (
|
{licInfo && typeof licInfo == 'object' && typeof(customer) == 'object' ? (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
|
|
|
@ -2,20 +2,23 @@
|
||||||
// @common-image-path - defined in webpack config
|
// @common-image-path - defined in webpack config
|
||||||
|
|
||||||
.about {
|
.about {
|
||||||
padding-bottom: 30px;
|
|
||||||
|
|
||||||
.page-content {
|
.page-content {
|
||||||
text-align: center /*rtl:ignore*/;
|
text-align: center /*rtl:ignore*/;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
&_phone {
|
&_phoneIos {
|
||||||
padding-top: 178px;
|
padding-top: 120px;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&_phoneAndroid {
|
||||||
|
padding-top: 60px;
|
||||||
|
padding-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&_tablet {
|
&_tablet {
|
||||||
// padding-top: 104px;
|
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue