diff --git a/static/style.css b/static/style.css
index 84662f2..108d59b 100644
--- a/static/style.css
+++ b/static/style.css
@@ -633,6 +633,11 @@ a.search_subreddit:hover {
width: auto;
}
+img.post_media {
+ max-width: 100%;
+ width: auto;
+}
+
#post_url {
color: var(--accent);
margin: 5px 20px;
diff --git a/templates/base.html b/templates/base.html
index 6400ebd..343c759 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -38,11 +38,17 @@
diff --git a/templates/post.html b/templates/post.html
index 619005e..fe1441c 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -72,8 +72,8 @@
xmlns="http://www.w3.org/2000/svg">
-
-
+
+
{% else if post.post_type == "video" || post.post_type == "gif" %}
diff --git a/templates/search.html b/templates/search.html
index 1d6bb1e..44f3b35 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -71,8 +71,8 @@
xmlns="http://www.w3.org/2000/svg">
-
-
+
+
{% else if post.post_type != "self" %}
@@ -84,7 +84,7 @@
{% else %}
{% endif %}
{% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %}
diff --git a/templates/subreddit.html b/templates/subreddit.html
index 6fd7325..3ac6161 100644
--- a/templates/subreddit.html
+++ b/templates/subreddit.html
@@ -66,8 +66,8 @@
xmlns="http://www.w3.org/2000/svg">
-
-
+
+
{% else if post.post_type != "self" %}
@@ -79,7 +79,7 @@
{% else %}
{% endif %}
{% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %}
diff --git a/templates/user.html b/templates/user.html
index a556a98..faf14ff 100644
--- a/templates/user.html
+++ b/templates/user.html
@@ -56,8 +56,8 @@
xmlns="http://www.w3.org/2000/svg">
-
-
+
+
{% else if post.post_type != "self" %}
@@ -69,7 +69,7 @@
{% else %}
{% endif %}
{% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %}