diff --git a/src/metabase/pulse/render.clj b/src/metabase/pulse/render.clj index 0182fc8425f28ee9f57838f34472c3de9c07b3e0..9af34674c1b7b9e8fefb587b24419c5501611785 100644 --- a/src/metabase/pulse/render.clj +++ b/src/metabase/pulse/render.clj @@ -32,7 +32,7 @@ (image-bundle/external-link-image-bundle render-type))] {:attachments (when image-bundle (image-bundle/image-bundle->attachment image-bundle)) - :content [:table {:style (style/style {:margin-bottom :8px + :content [:table {:style (style/style {:margin-bottom :2px :border-collapse :collapse :width :100%})} [:tbody diff --git a/src/metabase/pulse/render/body.clj b/src/metabase/pulse/render/body.clj index 4a8eff78905926ea4eed562d7f2188011781c26a..bd6163f1fcffc0c727cf17ed7ec26288cf306351 100644 --- a/src/metabase/pulse/render/body.clj +++ b/src/metabase/pulse/render/body.clj @@ -424,7 +424,7 @@ (for [label (map first rows)] [:div {:style (style/style {:float :left :margin-right "12px" :font-family "Lato, sans-serif" - :font-size "24px"})} + :font-size "16px"})} [:span {:style (style/style {:color (legend-colors label)})} "•"] [:span {:style (style/style {:margin-left "6px"})} @@ -715,25 +715,25 @@ [:img {:style (style/style {:display :block :width :100%}) :src (:image-src image-bundle)}] - [:table + [:table {:style (style/style {:border-spacing :0px})} [:tr [:td {:style (style/style {:color style/color-text-dark - :font-size :24px + :font-size :16px :font-weight 700 :padding-right :16px})} (first values)] [:td {:style (style/style {:color style/color-gray-3 - :font-size :24px + :font-size :16px :font-weight 700})} (second values)]] [:tr [:td {:style (style/style {:color style/color-text-dark - :font-size :16px + :font-size :12px :font-weight 700 :padding-right :16px})} (first labels)] [:td {:style (style/style {:color style/color-gray-3 - :font-size :16px})} + :font-size :12px})} (second labels)]]]]})) (s/defmethod render :waterfall :- common/RenderedPulseCard