mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
feat: fix UI in IE11 (#1878)
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user