summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-09-30 19:45:06 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-09-30 19:45:06 +0500
commit62f7e7c03e85c7d5654e05f82b4e841ea6d37e23 (patch)
tree9b62c8f83edbd4a4286879d9493981530d8c40ab /web/react/utils/utils.jsx
parent71dba4abcf6f9fb2cb1a6b0231ca2c9e70eb6bb8 (diff)
downloadchat-62f7e7c03e85c7d5654e05f82b4e841ea6d37e23.tar.gz
chat-62f7e7c03e85c7d5654e05f82b4e841ea6d37e23.tar.bz2
chat-62f7e7c03e85c7d5654e05f82b4e841ea6d37e23.zip
Adding a quick fix for search bar bg related to themes
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r--web/react/utils/utils.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 91e47730e..8b20e2adf 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -483,7 +483,7 @@ export function applyTheme(theme) {
changeCss('.post-image__column', 'border-color:' + changeOpacity(theme.centerChannelColor, 0.2), 2);
changeCss('.post-image__column .post-image__details', 'color:' + theme.centerChannelColor, 2);
changeCss('.post-image__column a, .post-image__column a:hover, .post-image__column a:focus', 'color:' + theme.centerChannelColor, 1);
- changeCss('.search-bar__container .search__form .search-bar', 'background:' + changeOpacity(theme.centerChannelColor, 0.2), 1);
+ changeCss('@media(max-width: 768px){.search-bar__container .search__form .search-bar', 'background:' + changeOpacity(theme.centerChannelColor, 0.2), 1);
changeCss('.search-bar__container .search__form', 'border-color:' + changeOpacity(theme.centerChannelColor, 0.2), 1);
changeCss('.channel-intro .channel-intro__content', 'background:' + changeOpacity(theme.centerChannelColor, 0.05), 1);
changeCss('.date-separator .separator__text', 'color:' + theme.centerChannelColor, 2);