feat: improve EditPages for touchscreen (#195)

Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
This commit is contained in:
turbodog03
2021-07-25 23:13:34 +08:00
committed by GitHub
parent 21b4e0e51d
commit 1c01a34814
6 changed files with 63 additions and 63 deletions

View File

@ -92,7 +92,7 @@ class AffiliationSelect extends React.Component {
<Col style={{marginTop: '5px'}} span={this.props.labelSpan}>
{Setting.getLabel(i18next.t("user:Affiliation"), i18next.t("user:Affiliation - Tooltip"))} :
</Col>
<Col span={24 - this.props.labelSpan} >
<Col span={22} >
{
this.props.application?.affiliationUrl === "" ? (
<Input value={this.props.user.affiliation} onChange={e => {

View File

@ -142,7 +142,7 @@ class OAuthWidget extends React.Component {
</Col>
<Col span={24 - this.props.labelSpan} >
<img style={{marginRight: '10px'}} width={30} height={30} src={avatarUrl} alt={name} />
<span style={{width: this.props.labelSpan === 3 ? '300px' : '130px', display: "inline-block"}}>
<span style={{width: this.props.labelSpan === 3 ? '300px' : '130px', display: (Setting.isMobile()) ? 'inline' : "inline-block"}}>
{
linkedValue === "" ? (
"(empty)"