Skip to content

Commit

Permalink
Fixes onepager and kudos claim nav regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon committed Apr 22, 2021
1 parent 5253ef0 commit 241de0b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions app/assets/v2/scss/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,32 @@
transform: rotate(-90Deg) translateY(-0.4rem);
}
}

.navbar-onepager {
overflow: visible;

.nav_avatar {
position: relative;
}

#gc-notifications.show {
border: unset;
}

.notifications__box {
min-width: unset;
width: 20rem;
}

.navbar-brand:before {
content: unset;
}

#notificationsDropdown .fa-bell + span {
display: none;
}
}

}

@media (min-width:768px) and (max-width:1240px) {
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/templates/shared/onepager_auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% load i18n static %}
{% load is_in_list %}

<div class="navbar navbar-expand-md w-100 p-0 m-0 mb-2 justify-content-between">
<div class="navbar navbar-onepager navbar-expand-md w-100 p-0 m-0 mb-2 justify-content-between">
<a class="navbar-brand py-0 text-center" href="{% url 'index' %}">
<img id="logo" src="{% static "v2/images/new-logos/gc-h-neg.svg" %}" width="150" height="50" />
{% if request.path|is_in_list:"/gas,/gas/history,/gas/intro,/gas/calculator,/gas/faq,/gas/heatmap,/gas/guzzlers,/gas/faucets" %}
Expand Down
2 changes: 1 addition & 1 deletion app/kudos/templates/transaction/kudos_auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
{% load i18n static is_in_list %}
<div class="navbar navbar-expand-md w-100 p-0 m-0 mb-2 justify-content-between text-white">
<div class="navbar navbar-onepager navbar-expand-md w-100 p-0 m-0 mb-2 justify-content-between text-white">
<a class="navbar-brand p-1" href="{% url 'kudos_marketplace' %}">
<img class="mw-100 mx-4" src="{% static "v2/images/kudos/logo.svg" %}" alt="kudos" height="50">
{% if request.path|is_in_list:"/gas,/gas/history,/gas/intro,/gas/calculator,/gas/faq,/gas/faucets" %}
Expand Down

1 comment on commit 241de0b

@dustpan28646
Copy link

Choose a reason for hiding this comment

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

well whats next

Please sign in to comment.