diff --git a/src/components/api-guide/ApiGuide/ApiGuide.module.scss b/src/components/api-guide/ApiGuide/ApiGuide.module.scss index 76aca81e..eb172e2e 100644 --- a/src/components/api-guide/ApiGuide/ApiGuide.module.scss +++ b/src/components/api-guide/ApiGuide/ApiGuide.module.scss @@ -45,6 +45,7 @@ [data-state~="responsive.mobileS"] { .apiGuideImage { overflow: auto; + justify-content: unset; img { width: 90rem; } diff --git a/src/components/api-guide/ApiGuide/ApiGuideTable/ApiGuideTable.module.scss b/src/components/api-guide/ApiGuide/ApiGuideTable/ApiGuideTable.module.scss index cbbf4107..674ed99f 100644 --- a/src/components/api-guide/ApiGuide/ApiGuideTable/ApiGuideTable.module.scss +++ b/src/components/api-guide/ApiGuide/ApiGuideTable/ApiGuideTable.module.scss @@ -1,6 +1,6 @@ .apiGuideTable { width: 75%; - border-radius: 1.6rem; + border-radius: 4px; overflow: hidden; border: 1px solid var(--gray-02); th { diff --git a/src/components/api-guide/ApiGuide/Navigator/Navigator.module.scss b/src/components/api-guide/ApiGuide/Navigator/Navigator.module.scss index d135aebf..a14a767c 100644 --- a/src/components/api-guide/ApiGuide/Navigator/Navigator.module.scss +++ b/src/components/api-guide/ApiGuide/Navigator/Navigator.module.scss @@ -6,7 +6,7 @@ right: 40px; z-index: 10; box-sizing: border-box; - padding: 1rem; + padding: 1.6rem; margin: 0 auto 30px; .navigatorContent { display: flex; @@ -26,7 +26,7 @@ background-color: var(--gray-01); } &.navigatorSubLink { - margin-left: 0.5rem; + margin-left: 0.8rem; } } } diff --git a/src/components/app-registration/AppManagement/AppManagement.module.scss b/src/components/app-registration/AppManagement/AppManagement.module.scss index 8b4d8685..9df6255d 100644 --- a/src/components/app-registration/AppManagement/AppManagement.module.scss +++ b/src/components/app-registration/AppManagement/AppManagement.module.scss @@ -1,15 +1,18 @@ .manageApps { display: none; + table { border-spacing: 0; width: 100%; padding: 0 5rem; } + thead { background-color: var(--gray-02); height: 5rem; text-align: var(--text-align-left); } + th, td { padding: 1.6rem; @@ -18,18 +21,22 @@ overflow: hidden; text-overflow: ellipsis; } + td:last-child, th:last-child { white-space: nowrap; padding: 0 1rem; } + td:first-child, th:first-child { padding-left: 3.2rem; } + tbody tr:nth-child(even) { background-color: var(--gray-03); } + td:nth-child(2n + 3) { display: flex; flex-wrap: wrap; @@ -84,6 +91,7 @@ .tooltip { position: relative; + .tooltipText { visibility: hidden; width: 13rem; @@ -102,6 +110,7 @@ margin-left: -5.5rem; opacity: 0; transition: opacity 1s; + &::after { content: ''; position: absolute; @@ -113,8 +122,10 @@ border-color: var(--border-normal) transparent transparent transparent; } } + &:hover { transform: translateY(-2px); + .tooltipText { visibility: visible; opacity: 1; @@ -126,9 +137,10 @@ border: 0.16rem solid #d6dadb; border-radius: 0.4rem; padding: 0.32rem 0.32rem; - font-size: 1.1rem; + font-size: var(--text-size-xxs); } + .adminScope { border: 0.1rem solid var(--teal-01); color: var(--teal-01); -} +} \ No newline at end of file diff --git a/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.module.scss b/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.module.scss index c36552ba..4d19a9f2 100644 --- a/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.module.scss +++ b/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.module.scss @@ -68,6 +68,10 @@ fieldset .customTextInput:last-child { align-items: var(--text-align-center); justify-content: var(--text-align-center); width: 80%; + input[type='number'], + input[type='text'] { + height: 40px; + } input[type='number'] { appearance: none; &::-webkit-outer-spin-button, @@ -215,6 +219,7 @@ input[type='checkbox'] { height: 1.1rem; border-radius: 2px; transition: background-color 0.25s, border-color 0.25s; + top: 3px; z-index: 1; } input:checked + .customCheckbox { diff --git a/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.tsx b/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.tsx index 39849293..9075ce09 100644 --- a/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.tsx +++ b/src/components/app-registration/AppRegistration/AppRegistrationForm/AppRegistrationForm.tsx @@ -65,7 +65,11 @@ export default function AppRegistrationForm() {

App information

-
Paste your API token with the admin scope here.
+
+ + Paste your API token with the admin scope here. + +
@@ -121,8 +125,10 @@ export default function AppRegistrationForm() {

Markup

- You can earn commission by adding a markup to the price of each trade. Enter your - markup percentage here. + + You can earn commission by adding a markup to the price of each trade. Enter your + markup percentage here. +
@@ -166,8 +172,10 @@ export default function AppRegistrationForm() {

OAuth details

- This allows clients to log in to your app using their Deriv accounts without an API - token. + + This allows clients to log in to your app using their Deriv accounts without an API + token. +
@@ -233,7 +241,11 @@ export default function AppRegistrationForm() {

Scope of authorisation

-
Select the scope for your app:
+
+ + Select the scope for your app: + +
diff --git a/src/components/app-registration/AppRegistration/RegisterAppTabs/RegisteredAppTabs.tsx b/src/components/app-registration/AppRegistration/RegisterAppTabs/RegisteredAppTabs.tsx index 20ee4a95..8ef8efe3 100644 --- a/src/components/app-registration/AppRegistration/RegisterAppTabs/RegisteredAppTabs.tsx +++ b/src/components/app-registration/AppRegistration/RegisterAppTabs/RegisteredAppTabs.tsx @@ -8,14 +8,14 @@ export default function RegisteredAppTabs() { id="register_button" className="register-button" > - Register your application +
); diff --git a/src/components/docs/Docs/Sidebar/Sidebar.module.scss b/src/components/docs/Docs/Sidebar/Sidebar.module.scss index 6e06ec16..2d590024 100644 --- a/src/components/docs/Docs/Sidebar/Sidebar.module.scss +++ b/src/components/docs/Docs/Sidebar/Sidebar.module.scss @@ -185,6 +185,9 @@ opacity: unset; font-size: var(--text-size-xs); color: var(--text-01); + > span { + font-size: var(--text-size-xs); + } } .dropdownList { margin-top: 1.6rem; diff --git a/src/components/global/Modal/Modal.tsx b/src/components/global/Modal/Modal.tsx index f08fe315..3912727c 100644 --- a/src/components/global/Modal/Modal.tsx +++ b/src/components/global/Modal/Modal.tsx @@ -32,7 +32,11 @@ export default function Modal({ {type === "success" &&
} {type === "warning" &&
}
{title}
-
{description}
+
+ + {description} + +