diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-31 09:43:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-31 09:45:57 +0200 |
commit | 0933bb4a8a105d5393a3590e222cb0450102a8aa (patch) | |
tree | 9e68ccd6c1a42aedd56cd227d25df7735739476e | |
parent | 4a9e71c2b1ef57de01cd04984348b3957ebbc21d (diff) | |
download | PeerTube-0933bb4a8a105d5393a3590e222cb0450102a8aa.tar.gz PeerTube-0933bb4a8a105d5393a3590e222cb0450102a8aa.tar.zst PeerTube-0933bb4a8a105d5393a3590e222cb0450102a8aa.zip |
Fix responsive on videos search
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | client/src/app/search/search.component.scss | 16 | ||||
-rw-r--r-- | client/src/app/shared/video/abstract-video-list.scss | 2 |
3 files changed, 20 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ecea67c..8920fbccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -22,13 +22,15 @@ This version is a pre release because it contains many important changes, and re | |||
22 | $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;' | 22 | $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;' |
23 | $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;' | 23 | $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;' |
24 | ``` | 24 | ``` |
25 | |||
26 | You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html). | ||
25 | 27 | ||
26 | ### BREAKING CHANGES | 28 | ### BREAKING CHANGES |
27 | 29 | ||
28 | * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database | 30 | * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database |
29 | * `category` filter param is replaced by `categoryOneOf` | 31 | * `category` filter param is replaced by `categoryOneOf` |
30 | * Switch job queue to [Bull](https://github.com/OptimalBits/bull). PeerTube should migrate your old pending jobs in this new queue manager | 32 | * Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager** |
31 | * Update nginx template | 33 | * Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx)) |
32 | * Update default cache size configurations | 34 | * Update default cache size configurations |
33 | 35 | ||
34 | ### Features | 36 | ### Features |
diff --git a/client/src/app/search/search.component.scss b/client/src/app/search/search.component.scss index 330eef9d8..ef89c5666 100644 --- a/client/src/app/search/search.component.scss +++ b/client/src/app/search/search.component.scss | |||
@@ -107,6 +107,10 @@ | |||
107 | } | 107 | } |
108 | 108 | ||
109 | @media screen and (max-width: 800px) { | 109 | @media screen and (max-width: 800px) { |
110 | .search-result { | ||
111 | margin: 20px 10px; | ||
112 | } | ||
113 | |||
110 | .results-header { | 114 | .results-header { |
111 | font-size: 15px !important; | 115 | font-size: 15px !important; |
112 | } | 116 | } |
@@ -123,7 +127,17 @@ | |||
123 | } | 127 | } |
124 | 128 | ||
125 | my-video-thumbnail { | 129 | my-video-thumbnail { |
126 | margin-right: 0; | 130 | margin-right: 0 !important; |
131 | |||
132 | /deep/ .video-thumbnail { | ||
133 | width: 100%; | ||
134 | height: auto; | ||
135 | |||
136 | img { | ||
137 | width: 100%; | ||
138 | height: auto; | ||
139 | } | ||
140 | } | ||
127 | } | 141 | } |
128 | } | 142 | } |
129 | } | 143 | } |
diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index 913fcfe22..91091a5bb 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss | |||
@@ -34,7 +34,7 @@ my-video-feed { | |||
34 | } | 34 | } |
35 | } | 35 | } |
36 | 36 | ||
37 | /deep/ .video-thumbnail { | 37 | .video-thumbnail { |
38 | width: 100%; | 38 | width: 100%; |
39 | height: auto; | 39 | height: auto; |
40 | 40 | ||