add video max-with

master
Jason Schwarzenberger 3 years ago
parent 4e5dc65461
commit 66a4953b83
  1. 2
      apiserver/scrapers/declutter.py
  2. 1
      webapp/src/components/Article.svelte

@ -7,7 +7,7 @@ import requests
from settings import HEADLESS_READER_PORT, SIMPLE_READER_PORT
class Simple:
def __init__(self, host, name, internal=True, timeout=20):
def __init__(self, host, name, internal=True, timeout=90):
self.host = host
self.name = name
self.internal = internal

@ -54,6 +54,7 @@
text-align: justify;
}
.article-body :global(figure),
.article-body :global(video),
.article-body :global(img) {
max-width: 100%;
height: auto;

Loading…
Cancel
Save