aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-02-18 21:01:25 -0500
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-02-18 21:01:25 -0500
commit28640bc30ba97693a6b955999e942e2d2b2aed83 (patch)
tree534f3f883d50faaff14cce4cb1dfc4dc2cf1e86c
parent491f0f53a3c4ea57411a5099db831d8687d7e7ea (diff)
downloadpatchfoo-28640bc30ba97693a6b955999e942e2d2b2aed83.tar.gz
patchfoo-28640bc30ba97693a6b955999e942e2d2b2aed83.zip
Make images smaller
-rw-r--r--lib/render.js2
-rw-r--r--static/styles.css7
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/render.js b/lib/render.js
index 7af5149..16bd7bc 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -61,8 +61,6 @@ Render.prototype.emoji = function (emoji) {
src: this.opts.emoji_base + emoji + '.png',
alt: name,
title: name,
- height: 16,
- width: 16
}) : name
}
diff --git a/static/styles.css b/static/styles.css
index 55f18af..3413be8 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -14,6 +14,13 @@ section {
.ssb-post img {
max-width: 100%;
+ width: 640px;
+ background-color: #eee;
+}
+
+img.ssb-emoji {
+ width: 1em;
+ height: 1em;
}
.nav-bar {