kopia lustrzana https://github.com/wagtail/wagtail
Restore ping effect for session with latest revision
Was lost when refactoring the styles to a separate component because @apply doesn't work with custom classespull/12185/head
rodzic
7d5252200f
commit
756913c44d
|
@ -3,11 +3,11 @@
|
|||
}
|
||||
|
||||
.w-editing-sessions__avatar {
|
||||
@apply w-mx-[1px] w-w-7 w-h-7 w-rounded-full w-border-2 w-border-surface-field hover:w-border-positive-100;
|
||||
@apply w-mx-[1px] w-w-7 w-h-7 w-border-2 w-border-surface-field hover:w-border-positive-100;
|
||||
}
|
||||
|
||||
.w-editing-sessions__decorated-avatar {
|
||||
@apply w-relative;
|
||||
@apply w-relative w-rounded-full;
|
||||
|
||||
.icon {
|
||||
@apply w-w-4 w-h-4 w-absolute -w-bottom-2 w-left-2 w-z-20 w-stroke-surface-header w-shadow-white;
|
||||
|
@ -47,7 +47,7 @@
|
|||
|
||||
.w-editing-sessions__session--latest {
|
||||
.w-editing-sessions__avatar {
|
||||
@apply w-border-critical-200 w-ping w-ping--critical;
|
||||
@apply w-border-critical-200;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
{% if session.revision_id %}
|
||||
{% fragment as avatar_decorated %}
|
||||
<div class="w-editing-sessions__decorated-avatar">
|
||||
<div class="w-editing-sessions__decorated-avatar w-ping w-ping--critical">
|
||||
{{ avatar }}
|
||||
{% icon name="warning" %}
|
||||
<span class="w-editing-sessions__decorator-filler"></span>
|
||||
|
|
Ładowanie…
Reference in New Issue