Skip to content

fix ico moon css #1467

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

Merged
merged 1 commit into from
May 15, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pgml-dashboard/src/components/breadcrumbs/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ol class="breadcrumb">
<li class="breadcrumb-item body-regular-text <% if links.is_empty() {%>active<% } %>">
<a class="d-flex gap-2 align-items-center" href="<%- home_uri %>">
<span class="icon-owl"></span>
<span class="icon-owl icomoon"></span>
Home
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<button class="navbar-toggler collapsed top-nav-controls" type="button" data-bs-toggle="collapse" data-bs-target="#leftNavItems" aria-controls="LeftNavItems" aria-expanded="false" aria-label="Toggle navigation">

<div class="mobile-left-nav-controls rounded-1 p-2 d-flex">
<span class="icon-owl text-white mx-1"></span>
<span class="icon-owl icomoon text-white mx-1"></span>
</div>
</button>

Expand Down Expand Up @@ -143,7 +143,7 @@
<a
class="py-2 text-white w-100 text-center d-flex gap-2 ps-4 justify-content-center <% if link.disabled { %> disabled <% } %> <% if link.active { %> active <% } %>"
href="<% if !link.disabled { %> <%= link.href %> <% } %>">
<span class="icon-owl" style="line-height: unset;"></span>
<span class="icon-owl icomoon" style="line-height: unset;"></span>
<%= link.name %>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion pgml-dashboard/static/css/scss/components/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
right: 0;
}

[class^="icon-"], [class*=" icon-"] {
.icomoon {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: never;
Expand Down