diff options
author | Brian Evans <grknight@gentoo.org> | 2018-07-19 09:57:29 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-07-19 09:57:29 -0400 |
commit | e0b9dedb65f3856ab5554330beb61d7988854005 (patch) | |
tree | 034373448b1ac532ac8ccfdfa2bf1811944eefdd | |
parent | Update to Tyrian layout (diff) | |
download | planet-e0b9dedb65f3856ab5554330beb61d7988854005.tar.gz planet-e0b9dedb65f3856ab5554330beb61d7988854005.tar.bz2 planet-e0b9dedb65f3856ab5554330beb61d7988854005.zip |
Fix right margin overrun by reverting the use of media elements
-rw-r--r-- | templates/index.html.tmpl | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl index 0ac49818..d046fa0b 100644 --- a/templates/index.html.tmpl +++ b/templates/index.html.tmpl @@ -167,10 +167,13 @@ a.k.a. <b><TMPL_VAR channel_username></b> </div> </TMPL_IF> -<div class="media"> -<div class="media-body"> -<div><TMPL_VAR content> -</div> +<table width="100%" style="table-layout:fixed"><tr><td> +<div class="entrycontent"><p> +<TMPL_IF channel_gravatar> +<img class="face" src="https://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&r=pg&d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2F<TMPL_IF channel_face><TMPL_VAR channel_face ESCAPE="HTML"><TMPL_ELSE>larrythecow.gif</TMPL_IF>" alt="" align="right"> +</TMPL_IF> +<TMPL_VAR content> +</p> <TMPL_IF comments> <p> <span class="commentlink"> @@ -179,11 +182,7 @@ a.k.a. <b><TMPL_VAR channel_username></b> </p> </TMPL_IF> </div> -<div class="media-right"> -<TMPL_IF channel_gravatar> -<img class="media-object" src="https://www.gravatar.com/avatar/<TMPL_VAR channel_gravatar ESCAPE="HTML">.jpg?s=100&r=pg&d=http%3A%2F%2Fplanet.gentoo.org%2Fimages%2F<TMPL_IF channel_face><TMPL_VAR channel_face ESCAPE="HTML"><TMPL_ELSE>larrythecow.gif</TMPL_IF>" alt="" align="right"> -</TMPL_IF></div> -</div> +</td></tr></table> </TMPL_LOOP> |