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 diff --git a/client/styles/components/_overlay.scss b/client/styles/components/_overlay.scss deleted file mode 100644 index 089fa4d824..0000000000 --- a/client/styles/components/_overlay.scss +++ /dev/null @@ -1,64 +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(); - padding: #{3 / $base-font-size}rem 0 #{3 / $base-font-size}rem #{10 / $base-font-size}rem; -} - -/* Fixed height overlay */ -.overlay--is-fixed-height .overlay__body { - height: 100vh; -} - -.overlay--is-fixed-height .overlay__header { - flex: 0; -}