Browse Source

Fix various regressions (#2466)

master
Eugen Rochko 7 years ago
committed by GitHub
parent
commit
fdcb55a0a6
5 changed files with 23 additions and 16 deletions
  1. +2
    -0
      app/assets/javascripts/components/containers/mastodon.jsx
  2. +0
    -10
      app/assets/javascripts/components/locales/fa.jsx
  3. +0
    -3
      app/assets/javascripts/components/locales/hr.jsx
  4. +13
    -2
      app/assets/stylesheets/components.scss
  5. +8
    -1
      app/assets/stylesheets/rtl.scss

+ 2
- 0
app/assets/javascripts/components/containers/mastodon.jsx View File

@ -47,6 +47,7 @@ import en from 'react-intl/locale-data/en';
import de from 'react-intl/locale-data/de'; import de from 'react-intl/locale-data/de';
import eo from 'react-intl/locale-data/eo'; import eo from 'react-intl/locale-data/eo';
import es from 'react-intl/locale-data/es'; import es from 'react-intl/locale-data/es';
import fa from 'react-intl/locale-data/fa';
import fi from 'react-intl/locale-data/fi'; import fi from 'react-intl/locale-data/fi';
import fr from 'react-intl/locale-data/fr'; import fr from 'react-intl/locale-data/fr';
import hu from 'react-intl/locale-data/hu'; import hu from 'react-intl/locale-data/hu';
@ -81,6 +82,7 @@ addLocaleData([
...de, ...de,
...eo, ...eo,
...es, ...es,
...fa,
...fi, ...fi,
...fr, ...fr,
...hu, ...hu,

+ 0
- 10
app/assets/javascripts/components/locales/fa.jsx View File

@ -1,13 +1,3 @@
/**
* Note for Contributors:
* This file (en.jsx) serve as a template for other languages.
* To make other contributors' life easier, please REMEMBER:
* 1. to add your new string here; and
* 2. to remove old strings that are no longer needed; and
* 3. to sort the strings by the key.
* 4. To rename the `en` const name and export default name to match your locale.
* Thanks!
*/
const fa = { const fa = {
"account.block": "@{name} را مسدود کن", "account.block": "@{name} را مسدود کن",
"account.disclaimer": "این کاربر عضو سرور متفاوتی است. شاید عدد واقعی بیشتر از این باشد.", "account.disclaimer": "این کاربر عضو سرور متفاوتی است. شاید عدد واقعی بیشتر از این باشد.",

+ 0
- 3
app/assets/javascripts/components/locales/hr.jsx View File

@ -1,6 +1,3 @@
/**
hrvatski jezik
*/
const hr = { const hr = {
"account.block": "Blokiraj @{name}", "account.block": "Blokiraj @{name}",
"account.disclaimer": "Ovaj korisnik je sa druge instance. Ovaj broj bi mogao biti veći.", "account.disclaimer": "Ovaj korisnik je sa druge instance. Ovaj broj bi mogao biti veći.",

+ 13
- 2
app/assets/stylesheets/components.scss View File

@ -1202,6 +1202,13 @@ a.status__content__spoiler-link {
padding-right: 10px; padding-right: 10px;
} }
} }
.columns-area > div {
.column, .drawer {
padding-left: 5px;
padding-right: 5px;
}
}
} }
@media screen and (min-width: 2560px) { @media screen and (min-width: 2560px) {
@ -1537,9 +1544,13 @@ a.status__content__spoiler-link {
} }
.column-subheading { .column-subheading {
background: lighten($color1, 20%);
background: $color1;
color: lighten($color1, 26%);
padding: 8px 20px; padding: 8px 20px;
font-size: 16px;
font-size: 12px;
font-weight: 500;
text-transform: uppercase;
cursor: default;
} }
.autosuggest-textarea, .autosuggest-textarea,

+ 8
- 1
app/assets/stylesheets/rtl.scss View File

@ -33,7 +33,7 @@ body.rtl {
.column-icon { .column-icon {
right: auto; right: auto;
left: 0;
left: 5px;
} }
.setting-toggle { .setting-toggle {
@ -125,5 +125,12 @@ body.rtl {
padding-left: 10px; padding-left: 10px;
} }
} }
.columns-area > div {
.column, .drawer {
padding-left: 5px;
padding-right: 5px;
}
}
} }
} }

Loading…
Cancel
Save