Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielamormocea committed Nov 11, 2021
1 parent 07d7ef0 commit 553baab
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
18 changes: 17 additions & 1 deletion src/components/manage/Blocks/NavigationBlock/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,24 @@
}
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
@media screen and (max-width: 1300px) and (min-width: 600px) {
.sticky-tabs {
top: 79px;
}
}

@media screen and (max-width: 766px) and (min-width: 600px) {
.mobile-authenticated-sticky {
top: 101px;
}
}

@media screen and (max-width: 600px) {
.sticky-tabs {
top: 67px;
}

.mobile-authenticated-sticky {
top: 101px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Navigation extends Component {
</button>
</div>
</div>
<div className="search-widget smallSearch">
<div className="search-widget smallSearch menu-force-mobile">
<Icon
className="searchIcon"
onClick={this.toggleMobileSearch}
Expand Down Expand Up @@ -282,7 +282,9 @@ class Navigation extends Component {
pointing
secondary
className={
this.state.isMobileMenuOpen ? 'open firstLevel' : 'mobile hidden'
this.state.isMobileMenuOpen
? 'open firstLevel'
: 'menu-manual-mobile'
}
>
{navigation.map((item) =>
Expand Down
20 changes: 10 additions & 10 deletions theme/site/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ body.has-toolbar {
height: 600px !important;
}



.lead-mobile-nav {
position: absolute;
z-index: 1;
Expand Down Expand Up @@ -158,13 +156,13 @@ body.has-toolbar {
text-decoration: none;

.lead-nav-icon {
fill: #554535 !important;
position: absolute;
right: 10px;
top: 6px;
right: 10px;
fill: #554535 !important;
}

.lead-nav-icon:hover{
.lead-nav-icon:hover {
fill: #cd4200 !important;
}
}
Expand Down Expand Up @@ -192,7 +190,6 @@ body.has-toolbar {
}

.lead-navigation-item {

padding: 12px 20px;

border: 2px solid #f7f7f5;
Expand All @@ -214,7 +211,6 @@ body.has-toolbar {
}
}


.lead-navigation-item:hover {
background: white;

Expand Down Expand Up @@ -338,7 +334,7 @@ body.has-toolbar {
display: none !important;
}

@media (max-width: @largestMobileScreen) {
@media (max-width: @tabletBreakpoint) {
display: none !important;
}
}
Expand Down Expand Up @@ -1048,7 +1044,6 @@ ul.ui.list li:before,
}

.unlist {

padding-left: 0;
list-style-type: none;

Expand All @@ -1072,6 +1067,12 @@ nav.navigation .menu > a.item:first-of-type {
display: none !important;
}

nav.navigation .menu-manual-mobile {
@media (max-width: @tabletBreakpoint) {
display: none !important;
}
}

.modal .block {
min-height: 400px;
}
Expand Down Expand Up @@ -1661,7 +1662,6 @@ span.float-right {

.forest-comparation {
.land-data-wrapper {

margin-bottom: 0;
background-color: @tileBackgroundColor;

Expand Down

0 comments on commit 553baab

Please sign in to comment.