diff --git a/content/showcase.md b/content/showcase.md index 71f494e..69cfad8 100644 --- a/content/showcase.md +++ b/content/showcase.md @@ -79,4 +79,4 @@ Images: Tikz: -{{ tikz(style="width: 20%; height: 20%;" position="center" body="\begin{tikzpicture}\draw (0,0) circle (1in);\end{tikzpicture}") }} +{{ tikz(position="right" body="\begin{tikzpicture}\draw (0,0) circle (1in);\end{tikzpicture}") }} diff --git a/templates/index.html b/templates/index.html index 2474dd2..5f1454c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -261,15 +261,27 @@ } .post_contents .tikz-left { + width: 0; + display: flex; + justify-content: left; + align-items: left; margin-right: auto; } .post_contents .tikz-center { + width: 0; + display: flex; + justify-content: center; + align-items: center; margin-left: auto; margin-right: auto; } .post_contents .tikz-right { + width: 0; + display: flex; + justify-content: right; + align-items: right; margin-left: auto; }