Skip to content
Snippets Groups Projects
Unverified Commit a2585f46 authored by Alexander Lesnenko's avatar Alexander Lesnenko Committed by GitHub
Browse files

change email table styles (#19654)

parent d0511981
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
(defn- bar-th-style []
(merge
(style/font-style)
{:font-size :12.5px
{:font-size :12px
:font-weight 700
:color style/color-text-medium
:border-bottom (str "1px solid " style/color-header-row-border)
......@@ -23,14 +23,14 @@
(defn- bar-td-style []
(merge
(style/font-style)
{:font-size :12.5px
{:font-size :12px
:font-weight 700
:text-align :left
:color style/color-text-dark
:border-bottom (str "1px solid " style/color-body-row-border)
:height :36px
:padding-right :0.5em
:padding-left :0.5em}))
:height :28px
:padding-right :0.375em
:padding-left :0.375em}))
(defn- bar-th-style-numeric []
(merge (style/font-style) (bar-th-style) {:text-align :right}))
......@@ -78,7 +78,7 @@
[:thead
[:tr
(for [header-cell row]
[:th {:style (style/style (row-style-for-type header-cell) (heading-style-for-type header-cell) {:min-width :60px})}
[:th {:style (style/style (row-style-for-type header-cell) (heading-style-for-type header-cell) {:min-width :42px})}
(h header-cell)])
(when bar-width
[:th {:style (style/style (bar-td-style) (bar-th-style) {:width (str bar-width "%")})}])]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment