diff --git a/config/dev.exs b/config/dev.exs index 291bdc463..cd4d9ea1c 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -58,7 +58,7 @@ config :logger, :console, format: "[$level] $message\n", level: :debug config :mobilizon, Mobilizon.Service.Geospatial, service: Mobilizon.Service.Geospatial.Nominatim -config :mobilizon, Mobilizon.Web.Gettext, allowed_locales: ["fr", "en"] +config :mobilizon, Mobilizon.Web.Gettext, allowed_locales: ["fr", "en", "ar"] # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive. diff --git a/js/src/common.scss b/js/src/common.scss index 9566e8925..65301b01b 100644 --- a/js/src/common.scss +++ b/js/src/common.scss @@ -165,3 +165,36 @@ p { .icon { vertical-align: middle; } + +.tags .tag:not(:last-child) { + margin-right: unset; + @include margin-right(0.5rem); +} + +.button .icon { + &:first-child:not(:last-child) { + @include margin-left(calc(-0.5em - 1px)); + @include margin-right(0.25em); + } + &:last-child:not(:first-child) { + @include margin-right(calc(-0.5em - 1px)); + @include margin-left(0.25em); + } +} + +.buttons .button:not(:last-child):not(.is-fullwidth) { + margin-right: unset; + @include margin-right(0.5rem); +} + +.breadcrumb li:first-child a { + padding-left: unset; + @include padding-left(0); + @include padding-right(0.75em); +} +.media-left { + @include margin-left(1rem); +} +a.dropdown-item { + @include padding-right(3rem); +} diff --git a/js/src/components/About/InstanceContactLink.vue b/js/src/components/About/InstanceContactLink.vue index 80d17ecea..429e7fb67 100644 --- a/js/src/components/About/InstanceContactLink.vue +++ b/js/src/components/About/InstanceContactLink.vue @@ -1,9 +1,9 @@ diff --git a/js/src/components/Account/ActorCard.vue b/js/src/components/Account/ActorCard.vue index 4b7a9b11a..d319bd898 100644 --- a/js/src/components/Account/ActorCard.vue +++ b/js/src/components/Account/ActorCard.vue @@ -12,7 +12,7 @@ {{ actor.name || `@${usernameWithDomain(actor)}` }}

- @{{ usernameWithDomain(actor) }} + @{{ usernameWithDomain(actor) }}

{{ comment.actor.name }} - @{{ usernameWithDomain(comment.actor) }} + @{{ usernameWithDomain(comment.actor) }} {{ $t("[deleted]") }} @@ -128,7 +128,7 @@
{{ currentActor.name }} - @{{ currentActor.preferredUsername }} + @{{ currentActor.preferredUsername }}
diff --git a/js/src/components/Event/EventMetadataList.vue b/js/src/components/Event/EventMetadataList.vue index 9868cbedd..c43bd70cf 100644 --- a/js/src/components/Event/EventMetadataList.vue +++ b/js/src/components/Event/EventMetadataList.vue @@ -25,6 +25,7 @@ :placeholder="$t('e.g. Accessibility, Twitch, PeerTube')" id="event-metadata-autocomplete" @select="(option) => addElement(option)" + dir="auto" >