diff --git a/server/templates/macros.htm b/server/templates/macros.htm index f568a84..492c72e 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -47,6 +47,18 @@ color: gray; cursor: default; } + .button-list { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + align-content: center; + } + @media screen and (max-width: 700px) { + .button-list { + flex-direction: column; + } + } {% endmacro %} @@ -168,7 +180,7 @@ {{- media.left_length | timedelta -}} - + {{- media_element_buttons(media) -}} {{ media.title }} @@ -194,7 +206,7 @@ {{- link.element.left_length | timedelta -}} - + {{- media_element_buttons(link.element) -}}