Mercurial > gemma
diff client/src/assets/application.sass @ 1426:acb4e493775e
client: add way to fix lost leading whitespaces in translations
* Add a class to the whole application to correct the vue-gettext
problems with removing whitespace, see assets/application.sass.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 29 Nov 2018 15:44:15 +0100 |
parents | 5bd58141b806 |
children |
line wrap: on
line diff
--- a/client/src/assets/application.sass Thu Nov 29 15:15:20 2018 +0100 +++ b/client/src/assets/application.sass Thu Nov 29 15:44:15 2018 +0100 @@ -78,3 +78,14 @@ margin-left: 0.5rem margin-right: 0.5rem margin-bottom: 1rem + +// needed to fix the whitespace problem of +// https://github.com/Polyconseil/vue-gettext/issues/80 +// use like +// <a href="..">link</a> +// <span v-translate class="fix-trans-space">contributors.</span> +// +// done centrally, so we can fix it centrally for better vue-gettext version +.fix-trans-space + &:before + content: " "