diff --git a/public/css/app.css b/public/css/app.css index 6b878cd..5ecf2e9 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -34,11 +34,32 @@ div.label-smaller { display: inline-block; } -.tooltip-button { +button.is-small.tooltip-button { border: 0; - margin-left: 0.2rem; + font-size: 0.65rem; } +h1, h2, h3, h4, h5, h6 { + &.is-1, + &.is-2, + &.is-3 { + & > button.is-small.tooltip-button { + margin-top: 0.5rem; + } + } + + &.is-4 { + & > button.is-small.tooltip-button { + margin-top: 0.2rem; + } + } + + & > button.is-small.tooltip-button { + margin-top: 0.3rem; + } +} + + button.clone-field { float: right; margin-top: 0.5rem; @@ -229,4 +250,4 @@ div .field.with-tooltip .control { & button { margin-left: 0.5rem; } -} \ No newline at end of file +} diff --git a/view/download.twig b/view/download.twig index ce0e7fd..bc63d20 100644 --- a/view/download.twig +++ b/view/download.twig @@ -1,8 +1,9 @@ -{% from '_macros' import fileUrl %} +{% from '_macros' import fileUrl, renderTooltip %}