From c427a13d03a038c0607ed3c94f7092f120fddb3e Mon Sep 17 00:00:00 2001 From: Vivek <122638553+vivekbopaliya@users.noreply.github.com> Date: Mon, 25 Dec 2023 19:10:11 +0530 Subject: [PATCH 1/3] fixed "Add to collections" --- client/modules/IDE/components/AddToCollectionList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/AddToCollectionList.jsx b/client/modules/IDE/components/AddToCollectionList.jsx index fc5c161fdc..0cb4768c3e 100644 --- a/client/modules/IDE/components/AddToCollectionList.jsx +++ b/client/modules/IDE/components/AddToCollectionList.jsx @@ -39,7 +39,7 @@ class CollectionList extends React.Component { props.getProject(props.projectId); } - this.props.getCollections(this.props.username); + this.props.getCollections(this.props.user.username); this.state = { hasLoadedData: false From 886757a2e370f1a786b96d576d6ce388d90d3a2d Mon Sep 17 00:00:00 2001 From: Vivek <122638553+vivekbopaliya@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:14:27 +0530 Subject: [PATCH 2/3] Blue Border-box aligned center! --- client/styles/components/_overlay.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/client/styles/components/_overlay.scss b/client/styles/components/_overlay.scss index 089fa4d824..ad46f0594e 100644 --- a/client/styles/components/_overlay.scss +++ b/client/styles/components/_overlay.scss @@ -51,7 +51,16 @@ .overlay__close-button { @include icon(); - padding: #{3 / $base-font-size}rem 0 #{3 / $base-font-size}rem #{10 / $base-font-size}rem; + display: flex; + align-items: center; + justify-content: center; + padding: 1rem; + cursor: pointer; +} + +.overlay__close-button svg { + width: 16px; + height: 16px; } /* Fixed height overlay */ From a38e15407f92da4c53a9c3ebfa152e66d14e7f17 Mon Sep 17 00:00:00 2001 From: Vivek <122638553+vivekbopaliya@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:16:44 +0530 Subject: [PATCH 3/3] my apologies --- client/styles/components/_overlay.scss | 73 -------------------------- 1 file changed, 73 deletions(-) delete mode 100644 client/styles/components/_overlay.scss diff --git a/client/styles/components/_overlay.scss b/client/styles/components/_overlay.scss deleted file mode 100644 index ad46f0594e..0000000000 --- a/client/styles/components/_overlay.scss +++ /dev/null @@ -1,73 +0,0 @@ -.overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 9999; - background-color: rgba(0, 0, 0, 0.5); - overflow-y: hidden; -} - -.overlay__content { - height: 100%; - width: 100%; - display: flex; - justify-content: center; - align-items: center; -} - -.overlay__body { - @extend %modal; - display: flex; - flex-wrap: wrap; - flex-flow: column; - max-height: 80%; - max-width: 80%; - position: relative; - padding-bottom: #{25 / $base-font-size}rem; - - @media (max-width: 650px) { - max-width: 100%; - max-height: 100%; - height: 100vh; - width: 100vw; - } -} - -.overlay__header { - display: flex; - justify-content: space-between; - padding: #{20 / $base-font-size}rem; -} - -.overlay__actions { - display: flex; -} - -.overlay__title { - font-size: #{21 / $base-font-size}rem; -} - -.overlay__close-button { - @include icon(); - display: flex; - align-items: center; - justify-content: center; - padding: 1rem; - cursor: pointer; -} - -.overlay__close-button svg { - width: 16px; - height: 16px; -} - -/* Fixed height overlay */ -.overlay--is-fixed-height .overlay__body { - height: 100vh; -} - -.overlay--is-fixed-height .overlay__header { - flex: 0; -}