1
0
Fork 0

Fix responsive on videos search

This commit is contained in:
Chocobozzz 2018-07-31 09:43:26 +02:00
parent 4a9e71c2b1
commit 0933bb4a8a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 20 additions and 4 deletions

View File

@ -22,13 +22,15 @@ This version is a pre release because it contains many important changes, and re
$ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
$ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
```
You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).
### BREAKING CHANGES
* Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
* `category` filter param is replaced by `categoryOneOf`
* Switch job queue to [Bull](https://github.com/OptimalBits/bull). PeerTube should migrate your old pending jobs in this new queue manager
* Update nginx template
* Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
* Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
* Update default cache size configurations
### Features

View File

@ -107,6 +107,10 @@
}
@media screen and (max-width: 800px) {
.search-result {
margin: 20px 10px;
}
.results-header {
font-size: 15px !important;
}
@ -123,7 +127,17 @@
}
my-video-thumbnail {
margin-right: 0;
margin-right: 0 !important;
/deep/ .video-thumbnail {
width: 100%;
height: auto;
img {
width: 100%;
height: auto;
}
}
}
}
}

View File

@ -34,7 +34,7 @@ my-video-feed {
}
}
/deep/ .video-thumbnail {
.video-thumbnail {
width: 100%;
height: auto;