Skip to content

Commit

Permalink
Update client bundle (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored May 13, 2021
1 parent 0a75df4 commit 74e8140
Show file tree
Hide file tree
Showing 280 changed files with 105 additions and 116 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const RightContentMenu = ({ items, formatHref, query, parentRef, cfg }) => {
const { width: widthNavbarRight } = useResizeElement(navbarRight);
const { width: widthParent } = useResizeElement(parentRef);
const { width: widthNavbarContentRight } = useResizeElement(navbarContentRight);
const isSpaceRight = (cfg?.style) ? widthNavbarRight >= widthNavbarContentRight : widthNavbarRight >= widthParent
const isSpaceRight = (cfg?.style) ? widthNavbarRight >= widthNavbarContentRight : widthNavbarRight >= widthParent;
const [switchToBurgerMenu, setSwitchToBurgerMenu] = useState(false);
useEffect(() => {
setSwitchToBurgerMenu(isSpaceRight);
Expand Down Expand Up @@ -120,10 +120,10 @@ const ActionNavbar = forwardRef(({
{
leftItems.length > 0 &&
<LeftContentMenu
items={leftItems}
formatHref={formatHref}
query={query}
/>
items={leftItems}
formatHref={formatHref}
query={query}
/>
}

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const FiltersMenu = forwardRef(({
}, ref) => {

const selectedSort = orderOptions.find(({ value }) => order === value);
const [cardLayoutStyle, setCardLayoutStyle] = useLocalStorage('layoutCardsStyle');
const [cardLayoutStyle, setCardLayoutStyle] = useLocalStorage('layoutCardsStyle', 'grid');
function handleToggleCardLayoutStyle() {
setCardLayoutStyle(cardLayoutStyle === 'grid' ? 'list' : 'grid');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
min-height: 3rem;
width: 100%;
padding: 0.5rem 0;
color: $gn-primary-color;
background-color: $gn-primary-bg;
z-index: 15;
display: flex;
flex-direction: row;
Expand All @@ -28,15 +26,13 @@
display: flex;
flex-direction: row;
align-items: center;
max-width: $gn-page-max-width;
margin: auto;
width: 100%;
//padding: 0 0.5rem;
.gn-action-navbar-content {
display: flex;
flex-direction: row;
margin: 0 0 0 0.4rem;
flex: 1;
padding: 0 0.8rem;
ul {
display: inline-block;
flex-direction: row;
Expand Down Expand Up @@ -116,15 +112,6 @@
border: none;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
&.active {
color: $gn-primary-bg;
background-color: $gn-primary-color;
}
@include hover() {
color: $gn-primary-bg;
background-color: $gn-primary-color;
opacity: 1;
}
}
.gn-language-selector {
&> .btn-default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@
}

.gn-menu-index .gn-tag,
.gn-menu-index .btn-default {
.gn-menu-index .btn-default,
.gn-action-navbar .gn-tag,
.gn-action-navbar .btn-default {
@include color-var(map.get($theme-vars, 'primary-color'), --gn-primary-color);
@include background-color-var(map.get($theme-vars, 'primary-bg'), --gn-primary-bg);
border: none;
Expand Down
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
geonode-mapstore-client-v2.0.9-f446fe4ac59d8d63679eb59deea5196d13d927cb
geonode-mapstore-client-v2.0.9-88cffa92987fca8e253bf6e6e5091ec0ca570322

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 74e8140

Please sign in to comment.