Skip to content
Draft
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,431 changes: 854 additions & 577 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@types/react-vertical-timeline-component": "^3.3.3",
"node-sass": "^7.0.1",
"sass": "^1.62.1",
"typescript": "^4.7.3"
}
}
2 changes: 1 addition & 1 deletion src/pages/catalogue/catalogueListContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const CatalogueListContainerUnconnected: React.FC<IProps> = (props: IProp
return newDisplayItems;
}

const displayItems = getDisplayItems(items, searchTerm);
const displayItems = getDisplayItems(items, searchTerm.trim());
return (
<CatalogueListPresenter
{...props}
Expand Down
3 changes: 2 additions & 1 deletion src/scss/custom/_community.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ $community-search-icon-border-radius: 5px;

.community-icon {
img {
border-top-left-radius: $community-search-icon-border-radius;
border-top-left-radius: $community-search-icon-border-radius;
object-fit: contain;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this object-fit rule

}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/scss/custom/_expedition.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
opacity: 1;
transition: opacity 250ms ease-in-out;
display: flex;
width: 100%;

.text-container {
overflow: hidden;
Expand Down
51 changes: 25 additions & 26 deletions src/scss/custom/_fab.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
.mdc-fab:not(.mdc-fab--extended) {
border-radius: 50%;
}
.fab-margin {
margin: 0.5em;
}

.mdc-fab {
fill: currentColor;
align-items: center;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
border: none;
Expand All @@ -32,29 +30,30 @@
-ms-user-select: none;
user-select: none;
width: 56px;
}

.mdc-fab:after,
.mdc-fab:before {
height: 200%;
left: -50%;
top: -50%;
width: 200%;
}
&::after,
&::before {
height: 200%;
left: -50%;
top: -50%;
width: 200%;
border-radius: 50%;
content: "";
opacity: 0;
pointer-events: none;
position: absolute;
}

.mdc-fab:before {
transition: opacity 15ms linear, background-color 15ms linear;
z-index: 1;
}
.mdc-fab:after,
.mdc-fab:before {
border-radius: 50%;
content: "";
opacity: 0;
pointer-events: none;
position: absolute;
}
&::before {
transition: opacity 15ms linear, background-color 15ms linear;
z-index: 1;
}

.mdc-fab:focus {
outline: unset;
}
&:focus {
outline: unset;
}

&:not(.mdc-fab--extended) {
border-radius: 50%;
}
}
10 changes: 4 additions & 6 deletions src/scss/custom/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ body {
#app .main-panel #navbar.navbar {
max-height: 80px;

@media screen and (min-width: 500px) and (max-width: 991px) {
padding-top: 0 !important;
}

.navbar-toggler .icon-bar {
background-color: white;
}
Expand Down Expand Up @@ -307,12 +311,6 @@ img.tiny {
padding-right: 0.5em;
}

#app .main-panel #navbar.navbar {
@media screen and (min-width: 500px) and (max-width: 991px) {
padding-top: 0 !important;
}
}

.colour-swatch {
display: inline-block;
height: 2em;
Expand Down
Loading