mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
11.03.2022 887bf9d945b09e7dfc8815d67f3189ac39676bb9
refactor: expiration note

2 files modified
4 ■■■■ changed files
assets/scss/partials/components/_alert.scss 2 ●●● patch | view | raw | blame | history
layouts/partials/expirationnote.html 2 ●●● patch | view | raw | blame | history
assets/scss/partials/components/_alert.scss
@@ -5,7 +5,7 @@
    border-radius: 0.25rem;
    border-width: 2px;
    #indicator {
    &__indicator {
        background-color: $alert;
        display: inline-block;
        border-radius: 9999px;
layouts/partials/expirationnote.html
@@ -16,7 +16,7 @@
  {{- if and (gt $ageDays $duration) (ne $duration 0) -}}
    <div class="alert">
      <div id="indicator">!</div>
      <div class="alert__indicator">!</div>
      {{ i18n "old_content_warning" (dict "Count" $duration) }}
    </div>