From b21c8f8c3a092ebee1d48f951f9e8ebf11986f36 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Mon, 31 Jan 2022 12:15:58 +0530 Subject: [PATCH] Add credits in app about section Signed-off-by: Ajay Bura --- src/app/organisms/room/PeopleDrawer.scss | 4 +++- src/app/organisms/settings/Settings.jsx | 17 +++++++++++++++-- src/app/organisms/settings/Settings.scss | 9 ++++++++- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/app/organisms/room/PeopleDrawer.scss b/src/app/organisms/room/PeopleDrawer.scss index 1cd8fb0..cfc5f6c 100644 --- a/src/app/organisms/room/PeopleDrawer.scss +++ b/src/app/organisms/room/PeopleDrawer.scss @@ -68,7 +68,9 @@ & .people-selector { padding: var(--sp-extra-tight); border-radius: var(--bo-radius); - @include dir.side(margin, var(--sp-extra-tight), 0); + &__container { + @include dir.side(margin, var(--sp-extra-tight), 0); + } } & .segmented-controls { diff --git a/src/app/organisms/settings/Settings.jsx b/src/app/organisms/settings/Settings.jsx index 0c3e1aa..f9cc631 100644 --- a/src/app/organisms/settings/Settings.jsx +++ b/src/app/organisms/settings/Settings.jsx @@ -196,11 +196,11 @@ function SecuritySection() { function AboutSection() { return ( -
+
Cinny logo
- + Cinny {`v${cons.version}`} @@ -212,6 +212,19 @@ function AboutSection() {
+
+ Credits + +
); } diff --git a/src/app/organisms/settings/Settings.scss b/src/app/organisms/settings/Settings.scss index cb8d139..5445122 100644 --- a/src/app/organisms/settings/Settings.scss +++ b/src/app/organisms/settings/Settings.scss @@ -39,7 +39,7 @@ display: flex; & > div { - margin: 0 calc(var(--sp-loose) + var(--sp-ultra-tight)); + margin: 0 var(--sp-loose); } } @@ -50,4 +50,11 @@ margin: 0 var(--sp-tight) } } + + &__credits { + margin-top: var(--sp-loose); + & ul { + margin: var(--sp-extra-tight) 0; + } + } } \ No newline at end of file