fix display of notification dot inside DSFR tabs
This commit is contained in:
parent
139e8f2059
commit
8ecc242586
2 changed files with 7 additions and 1 deletions
|
@ -7,3 +7,9 @@ span.notifications {
|
|||
border-radius: 4px;
|
||||
background-color: $orange;
|
||||
}
|
||||
|
||||
.fr-tabs__list span.notifications {
|
||||
z-index: 2;
|
||||
top: 5px;
|
||||
right: 8px;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%li{ class: (active ? 'active' : nil), role: 'presentation' }
|
||||
%li{ class: "relative #{(active ? 'active' : nil)}", role: 'presentation' }
|
||||
- if notification
|
||||
%span.notifications{ 'aria-label': 'notifications' }
|
||||
= link_to(url, 'aria-selected': active ? true : nil, class: 'fr-tabs__tab', role: 'tab' ) do
|
||||
|
|
Loading…
Reference in a new issue