]> cat aescling's git repositories - mastodon.git/commitdiff
Fix various regressions (#2466)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 26 Apr 2017 02:40:27 +0000 (04:40 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2017 02:40:27 +0000 (04:40 +0200)
app/assets/javascripts/components/containers/mastodon.jsx
app/assets/javascripts/components/locales/fa.jsx
app/assets/javascripts/components/locales/hr.jsx
app/assets/stylesheets/components.scss
app/assets/stylesheets/rtl.scss

index c85a353eedcf3d3fc08e6f14ccf7cdcc8fddbe97..e34cf6c92623140f4da2f43affae7e76a57e2c4c 100644 (file)
@@ -47,6 +47,7 @@ import en from 'react-intl/locale-data/en';
 import de from 'react-intl/locale-data/de';
 import eo from 'react-intl/locale-data/eo';
 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 fr from 'react-intl/locale-data/fr';
 import hu from 'react-intl/locale-data/hu';
@@ -81,6 +82,7 @@ addLocaleData([
   ...de,
   ...eo,
   ...es,
+  ...fa,
   ...fi,
   ...fr,
   ...hu,
index ed46a890ba9cdaf2cf3ff4131fcbcce8fe2c0d43..40a7506187067739f81aa4457fd72d798fb5f636 100644 (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 = {
   "account.block": "@{name} را مسدود کن",
   "account.disclaimer": "این کاربر عضو سرور متفاوتی است. شاید عدد واقعی بیشتر از این باشد.",
index 30eff96272223887dc08d3ba621dc23c645097cb..0ca3ef73ea3d9ed9ccde0302c13a262029cc07f5 100644 (file)
@@ -1,6 +1,3 @@
-/**
-hrvatski jezik
- */
 const hr = {
   "account.block": "Blokiraj @{name}",
   "account.disclaimer": "Ovaj korisnik je sa druge instance. Ovaj broj bi mogao biti veći.",
index d4d942f15a084871da347d6a4e418e1531c7552b..cbbe746c1b22cc41d0a48e60f5f74bdf7473bbfa 100644 (file)
@@ -1202,6 +1202,13 @@ a.status__content__spoiler-link {
       padding-right: 10px;
     }
   }
+
+  .columns-area > div {
+    .column, .drawer {
+      padding-left: 5px;
+      padding-right: 5px;
+    }
+  }
 }
 
 @media screen and (min-width: 2560px) {
@@ -1537,9 +1544,13 @@ a.status__content__spoiler-link {
 }
 
 .column-subheading {
-  background: lighten($color1, 20%);
+  background: $color1;
+  color: lighten($color1, 26%);
   padding: 8px 20px;
-  font-size: 16px;
+  font-size: 12px;
+  font-weight: 500;
+  text-transform: uppercase;
+  cursor: default;
 }
 
 .autosuggest-textarea,
index af7be5f9c8cbd873d9949409669e106d66568e40..6abb2d25c484bc97d8fcd068c68adc4f8f7a22bb 100644 (file)
@@ -33,7 +33,7 @@ body.rtl {
 
   .column-icon {
     right: auto;
-    left: 0;
+    left: 5px;
   }
 
   .setting-toggle {
@@ -125,5 +125,12 @@ body.rtl {
         padding-left: 10px;
       }
     }
+
+    .columns-area > div {
+      .column, .drawer {
+        padding-left: 5px;
+        padding-right: 5px;
+      }
+    }
   }
 }