diff --git a/original-assets/styles/styles.scss b/original-assets/styles/styles.scss index caaf238..3816a4a 100644 --- a/original-assets/styles/styles.scss +++ b/original-assets/styles/styles.scss @@ -194,10 +194,6 @@ details summary { margin-bottom: 1em; } -.flex { - display: flex; -} - .hide { display: none; } @@ -242,6 +238,17 @@ details summary { height: 400px; } +#post-actions { + @extend .p; + display: flex; + flex-wrap: wrap; + gap: 5px; + + * { + text-align: center; + } +} + // Print @media print { html { diff --git a/templates/assets/css/styles.css b/templates/assets/css/styles.css index dcf6999..b70df93 100644 --- a/templates/assets/css/styles.css +++ b/templates/assets/css/styles.css @@ -145,16 +145,12 @@ details summary > *:first-child { border-bottom: 1px solid var(--primary, #000); } -.p, table { +.p, #post-actions, table { display: block; margin-top: 1em; margin-bottom: 1em; } -.flex { - display: flex; -} - .hide { display: none; } @@ -199,6 +195,15 @@ details summary > *:first-child { height: 400px; } +#post-actions { + display: flex; + flex-wrap: wrap; + gap: 5px; +} +#post-actions * { + text-align: center; +} + @media print { html { --background: #fff; diff --git a/templates/postactions.gohtml b/templates/postactions.gohtml index dba31d8..d624852 100644 --- a/templates/postactions.gohtml +++ b/templates/postactions.gohtml @@ -1,7 +1,7 @@ {{ define "postactions" }} -
- {{ string .Blog.Lang "share" }}  - {{ string .Blog.Lang "translate" }}  +
+ {{ string .Blog.Lang "share" }} + {{ string .Blog.Lang "translate" }} {{ if .Data.TTS }}