about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorchr v1.x <chr@chronal.net>2018-06-15 02:15:15 -0700
committerEugen Rochko <eugen@zeonfederated.com>2018-06-15 11:15:15 +0200
commit4f42238c294f92dbd87db3d83f9514344fcd1f8a (patch)
tree75d29a726c8f16fedd92db07ba8411c143243ca6 /app/javascript/styles
parentf972815f1bdc7a9ca198da938471c1299a96b401 (diff)
Put "Media Only" option in column settings instead of content area headline (#7801)
* Action/reducer for changing column settings takes a path and a value
instead of a javascript object

* Settings menu version and column headline version working simultaneously

* remove column headline entirely

* remove css for headlines that aren't possible now

* Remove commented out code from unfruitful attempt at this feature

* Give direct timeline its own column settings bc it doesn't have a media only option

* Fix typo in public timeline code that was preventing per-column settings from working properly

* Fix codeclimate issues

* Missing semicolons

* Use redux state to set onlyMedia, let that do the update instead of a callback. Consequently, unpinned setting works without history modification

* Unused import
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 42eebb05c..0a75a64dd 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -4806,8 +4806,6 @@ a.status-card {
   }
 }
 
-.community-timeline__section-headline,
-.public-timeline__section-headline,
 .account__section-headline {
   background: darken($ui-base-color, 4%);
   border-bottom: 1px solid lighten($ui-base-color, 8%);