Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nav dropdown issue, logo size issue #2098

Merged
merged 3 commits into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups

### Fixes
- [#2098](https://github.com/poanetwork/blockscout/pull/2098) - nav dropdown issue, logo size issue
- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added
- [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues
- [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs.
Expand Down
4 changes: 3 additions & 1 deletion apps/block_scout_web/assets/css/components/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
font-size: 12px;
padding: 10px 20px;

&:hover {
&:hover, &.active {
color: #fff;
background-color: rgba($primary, .1) !important;
color: $primary;
}

&:first-child {
Expand Down
4 changes: 2 additions & 2 deletions apps/block_scout_web/assets/css/components/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $header-textfield-text-color: $header-links-color !default;
$header-textfield-background-color: #f5f6fa !default;
$header-textfield-magnifier-color: $header-links-color !default;
$header-link-horizontal-padding: 0.71rem;
$navbar-logo-height: 1.5em !default;
$navbar-logo-height: 18px !default;
$navbar-logo-width: auto !default;

.navbar.navbar-primary {
Expand Down Expand Up @@ -208,7 +208,7 @@ $navbar-logo-width: auto !default;
}

.navbar-logo {
height: $navbar-logo-height;
max-height: $navbar-logo-height;
width: $navbar-logo-width;
}

Expand Down