feat: fix UI in IE11 (#1878)

This commit is contained in:
Yaodong Yu
2023-05-22 16:59:37 +08:00
committed by GitHub
parent 6b42d35223
commit 44cd55e55f
3 changed files with 476 additions and 704 deletions

View File

@ -511,9 +511,7 @@ class ApplicationEditPage extends React.Component {
/>
</div>
} title={i18next.t("provider:Signup HTML - Edit")} trigger="click">
<Input value={this.state.application.signupHtml} style={{marginBottom: "10px"}} onChange={e => {
this.updateApplicationField("signupHtml", e.target.value);
}} />
<Button>{i18next.t("general:Edit")}</Button>
</Popover>
</Col>
</Row>
@ -533,9 +531,7 @@ class ApplicationEditPage extends React.Component {
/>
</div>
} title={i18next.t("provider:Signin HTML - Edit")} trigger="click">
<Input value={this.state.application.signinHtml} style={{marginBottom: "10px"}} onChange={e => {
this.updateApplicationField("signinHtml", e.target.value);
}} />
<Button>{i18next.t("general:Edit")}</Button>
</Popover>
</Col>
</Row>
@ -651,7 +647,7 @@ class ApplicationEditPage extends React.Component {
</Row>
</Col>
</Row>
<Row>
<Row style={{marginTop: "20px"}} >
<Col style={{marginTop: "5px"}} span={(Setting.isMobile()) ? 22 : 2}>
{Setting.getLabel(i18next.t("application:Form CSS"), i18next.t("application:Form CSS - Tooltip"))} :
</Col>
@ -666,13 +662,11 @@ class ApplicationEditPage extends React.Component {
/>
</div>
} title={i18next.t("application:Form CSS - Edit")} trigger="click">
<Input value={this.state.application.formCss} style={{marginBottom: "10px"}} onChange={e => {
this.updateApplicationField("formCss", e.target.value);
}} />
<Button>{i18next.t("general:Edit")}</Button>
</Popover>
</Col>
</Row>
<Row>
<Row style={{marginTop: "20px"}} >
<Col style={{marginTop: "5px"}} span={(Setting.isMobile()) ? 22 : 2}>
{Setting.getLabel(i18next.t("application:Form CSS Mobile"), i18next.t("application:Form CSS Mobile - Tooltip"))} :
</Col>
@ -687,9 +681,7 @@ class ApplicationEditPage extends React.Component {
/>
</div>
} title={i18next.t("application:Form CSS Mobile - Edit")} trigger="click">
<Input value={this.state.application.formCssMobile} style={{marginBottom: "10px"}} onChange={e => {
this.updateApplicationField("formCssMobile", e.target.value);
}} />
<Button>{i18next.t("general:Edit")}</Button>
</Popover>
</Col>
</Row>
@ -724,9 +716,7 @@ class ApplicationEditPage extends React.Component {
/>
</div>
} title={i18next.t("application:Side panel HTML - Edit")} trigger="click">
<Input value={this.state.application.formSideHtml} style={{marginBottom: "10px"}} onChange={e => {
this.updateApplicationField("formSideHtml", e.target.value);
}} />
<Button>{i18next.t("general:Edit")}</Button>
</Popover>
</Col>
</Row>