diff --git a/resources/blog.scss b/resources/blog.scss index b422b82..5091076 100644 --- a/resources/blog.scss +++ b/resources/blog.scss @@ -162,6 +162,7 @@ overflow-wrap: anywhere; padding-bottom: 1em; clear: both; + position: relative; } .problem-feed-name { @@ -234,7 +235,7 @@ padding: 0px 12px; margin-top: 5px; position: absolute; - inset: 50% 0px 52px; + inset: 50% 0px 0px; background: linear-gradient(transparent, white); display: flex; -webkit-box-pack: end; diff --git a/templates/blog/content.html b/templates/blog/content.html index 7f77438..2b20b2a 100644 --- a/templates/blog/content.html +++ b/templates/blog/content.html @@ -42,8 +42,8 @@ {{ post.summary|default(post.content, true)|markdown(lazy_load=True)|reference|str|safe }} {% endcache %} +