aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-12 15:34:14 -0300
committerLibravatar Renard 2019-09-12 15:34:14 -0300
commitaf2f88977629e26c8c7c2fbbda8b6d6c5ebf1bff (patch)
tree3bffc6c33d85c6ce3317d35ca5fc3b1d9dffb515
parent6e09cae2ad7a0eff59318ba3625ccdb4ad49f176 (diff)
downloadbai-client-af2f88977629e26c8c7c2fbbda8b6d6c5ebf1bff.tar.gz
bai-client-af2f88977629e26c8c7c2fbbda8b6d6c5ebf1bff.tar.xz
bai-client-af2f88977629e26c8c7c2fbbda8b6d6c5ebf1bff.zip
Image fluid
-rw-r--r--src/App.css1
-rw-r--r--src/BBSThread.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/App.css b/src/App.css
index 199e7a1..9341c49 100644
--- a/src/App.css
+++ b/src/App.css
@@ -11,6 +11,7 @@
.imageSegment {
padding: 0 !important;
+ min-width: 250px !important;
}
.vipFont {
diff --git a/src/BBSThread.js b/src/BBSThread.js
index 9b0bc1c..68fca92 100644
--- a/src/BBSThread.js
+++ b/src/BBSThread.js
@@ -88,7 +88,7 @@ class BBSThread extends Component {
{post.file != "" ?
<Segment padded compact className="imageSegment">
<Label attached='bottom'>{post.file} {post.image_width}x{post.image_height} {filesize(post.file_size, { bits: true })}</Label>
- <Image src={`https://bienvenidoainternet.org/${this.props.dir}/thumb/${post.thumb}`} />
+ <Image fluid src={`https://bienvenidoainternet.org/${this.props.dir}/thumb/${post.thumb}`} />
</Segment> : null}
<Segment padded>