feat(ux): no-indicator-dot for indicator pills

Adding this class will disable indicator's tiny dot added before text.
This commit is contained in:
Ankush Menat 2022-09-08 01:15:11 +05:30
parent 7f316fa427
commit f6c548c7b9
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
<div class="collapse navbar-collapse justify-content-end">
<form class="form-inline fill-width justify-content-end" role="search" onsubmit="return false;">
{% if (frappe.boot.read_only) { %}
<span class="indicator-pill yellow" title="{%= __("Your site is getting upgraded.") %}">
<span class="indicator-pill yellow no-indicator-dot" title="{%= __("Your site is getting upgraded.") %}">
{%= __("Read Only Mode") %}
</span>
{% } %}

View file

@ -48,7 +48,7 @@
height: 24px;
}
.indicator-pill::before,
.indicator-pill:not(.no-indicator-dot)::before,
.indicator-pill-right::after {
content:'';
display: inline-table;
@ -179,4 +179,4 @@
@keyframes blink {
50% { opacity: 0.5; }
}
}