aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-11-22 12:06:07 -0800
committerAllan Wang <me@allanwang.ca>2021-11-22 12:06:07 -0800
commitf448eaf4c21c40778663f2d11b6f6f8ad8855b0f (patch)
tree1094d0b1de61c927b63b683fce30200ebf6d4012 /app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt
parentba458a612610512e28b65bafcf74177ddc77bbbe (diff)
downloadfrost-f448eaf4c21c40778663f2d11b6f6f8ad8855b0f.tar.gz
frost-f448eaf4c21c40778663f2d11b6f6f8ad8855b0f.tar.bz2
frost-f448eaf4c21c40778663f2d11b6f6f8ad8855b0f.zip
Default menu to home as some entries forcefully redirect there
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt
index a1f66520..39e2332a 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/CssAsset.kt
@@ -26,9 +26,9 @@ enum class CssAsset(private val content: String) : InjectorContract {
FullSizeImage("div._4prr[style*=\"max-width\"][style*=\"max-height\"]{max-width:none !important;max-height:none !important}"),
/*
- * Remove top margin and hide some contents from the top bar and notification page (as it's our base url)
+ * Remove top margin and hide some contents from the top bar and home page (as it's our base url)
*/
- Menu("#bookmarks_flyout{margin-top:0 !important}#notifications_list{display:none !important}")
+ Menu("#bookmarks_flyout{margin-top:0 !important}#m_news_feed_stream,#MComposer{display:none !important}")
;
val injector: JsInjector by lazy {