File tree Expand file tree Collapse file tree 2 files changed +24
-21
lines changed
govtool/frontend/src/components/molecules Expand file tree Collapse file tree 2 files changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ export const GovernanceActionCardElement = ({
147147
148148 return (
149149 < Markdown
150+ className = "markdown"
150151 components = { markdownComponents }
151152 remarkPlugins = { [ remarkMath , remarkGfm ] }
152153 rehypePlugins = { [ rehypeKatex ] }
Original file line number Diff line number Diff line change 1- table {
2- display : block;
3- overflow-x : auto ;
4- margin : 32 px 0 ;
5- border-spacing : 0 ;
6- border-collapse : collapse ;
7- max-width : 100 % ;
8- }
1+ . markdown {
2+ & table {
3+ display : block ;
4+ overflow-x : auto ;
5+ margin : 32 px 0 ;
6+ border-spacing : 0 ;
7+ border-collapse : collapse ;
8+ max-width : 100 % ;
99
10- table thead {
11- background-color : # d6e2ff80 ;
12- }
10+ & thead {
11+ background-color : # d6e2ff80 ;
12+ }
1313
14- table th ,
15- table td {
16- padding : 6px 13px ;
17- border : 1px solid # d6e2ff ;
18- }
14+ & th ,
15+ & td {
16+ padding : 6px 13px ;
17+ border : 1px solid # d6e2ff ;
18+ }
1919
20- table td > : last-child {
21- margin-bottom : 0 ;
22- }
20+ & td > : last-child {
21+ margin-bottom : 0 ;
22+ }
2323
24- table tr : nth-child (2n) {
25- background-color : # d6e2ff80 ;
24+ & tr : nth-child (2n) {
25+ background-color : # d6e2ff80 ;
26+ }
27+ }
2628}
You can’t perform that action at this time.
0 commit comments