From 3bbb0fb58e183ecfaca45baafcdf0b92fd665263 Mon Sep 17 00:00:00 2001 From: turbodog03 <63595854+turbodog03@users.noreply.github.com> Date: Sat, 24 Jul 2021 20:38:33 +0800 Subject: [PATCH] feat: improve border (#190) Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com> --- web/src/ApplicationEditPage.js | 2 +- web/src/OrganizationEditPage.js | 2 +- web/src/ProviderEditPage.js | 2 +- web/src/TokenEditPage.js | 2 +- web/src/UserEditPage.js | 2 +- web/src/auth/LoginPage.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/ApplicationEditPage.js b/web/src/ApplicationEditPage.js index 97a38996..dcc384f9 100644 --- a/web/src/ApplicationEditPage.js +++ b/web/src/ApplicationEditPage.js @@ -98,7 +98,7 @@ class ApplicationEditPage extends React.Component { {i18next.t("application:Edit Application")}     - } style={{margin: '5px'}} type="inner"> + } style={(Setting.isMobile())? {margin: '5px'}:{}} type="inner"> {Setting.getLabel(i18next.t("general:Name"), i18next.t("general:Name - Tooltip"))} : diff --git a/web/src/OrganizationEditPage.js b/web/src/OrganizationEditPage.js index 09be29fa..cd32f511 100644 --- a/web/src/OrganizationEditPage.js +++ b/web/src/OrganizationEditPage.js @@ -87,7 +87,7 @@ class OrganizationEditPage extends React.Component { {i18next.t("organization:Edit Organization")}     - } style={{marginLeft: '5px'}} type="inner"> + } type="inner"> {Setting.getLabel(i18next.t("general:Name"), i18next.t("general:Name - Tooltip"))} : diff --git a/web/src/ProviderEditPage.js b/web/src/ProviderEditPage.js index 48c8ef7e..a5fef2f9 100644 --- a/web/src/ProviderEditPage.js +++ b/web/src/ProviderEditPage.js @@ -101,7 +101,7 @@ class ProviderEditPage extends React.Component { {i18next.t("provider:Edit Provider")}     - } style={{marginLeft: '5px'}} type="inner"> + } type="inner"> {Setting.getLabel(i18next.t("general:Name"), i18next.t("general:Name - Tooltip"))} : diff --git a/web/src/TokenEditPage.js b/web/src/TokenEditPage.js index 0a8298da..4e41fb7c 100644 --- a/web/src/TokenEditPage.js +++ b/web/src/TokenEditPage.js @@ -65,7 +65,7 @@ class TokenEditPage extends React.Component { {i18next.t("token:Edit Token")}     - } style={{marginLeft: '5px'}} type="inner"> + } type="inner"> {i18next.t("general:Name")}: diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index 56fb9290..ec03e670 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -111,7 +111,7 @@ class UserEditPage extends React.Component { {i18next.t("user:Edit User")}     - } style={{marginLeft: '5px'}} type="inner"> + } type="inner"> {Setting.getLabel(i18next.t("general:Organization"), i18next.t("general:Organization - Tooltip"))} : diff --git a/web/src/auth/LoginPage.js b/web/src/auth/LoginPage.js index a2ee98ce..a1263887 100644 --- a/web/src/auth/LoginPage.js +++ b/web/src/auth/LoginPage.js @@ -293,7 +293,7 @@ class LoginPage extends React.Component {