1- import React from "react" ;
21import Link from "@docusaurus/Link" ;
3- import useBaseUrl from "@docusaurus/useBaseUrl" ;
42import { useLocation } from "@docusaurus/router" ;
3+ import useBaseUrl from "@docusaurus/useBaseUrl" ;
54import "../css/custom.css" ;
65import "../css/tables.css" ;
76
@@ -42,7 +41,7 @@ const TableVersionHistory = ({ versions = [], dates = [], descriptions = [], mod
4241 < thead >
4342 < tr >
4443 { HEADERS . map ( ( h , i ) => (
45- < th key = { h } className = "table-header border " style = { { textAlign : HEADERS_ALIGN [ i ] } } >
44+ < th key = { h } className = "border table-header" style = { { textAlign : HEADERS_ALIGN [ i ] } } >
4645 { h }
4746 </ th >
4847 ) ) }
@@ -62,11 +61,11 @@ const TableVersionHistory = ({ versions = [], dates = [], descriptions = [], mod
6261 return (
6362 < tr key = { rowIndex } >
6463 { /* Version (col 0) */ }
65- < td className = "table-body-cell border table-cell-nowrap" style = { { textAlign : "center" } } title = { v } >
64+ < td className = "border table-body-cell table-cell-nowrap" style = { { textAlign : "left" , verticalAlign : "top" } } title = { v } >
6665 { versionHref ? (
6766 < Link
6867 to = { useBaseUrl ( versionHref ) }
69- className = "text-ifm-link hover:text-ifm-link-hover no-underline hover:underline"
68+ className = "no-underline text-ifm-link hover:text-ifm-link-hover hover:underline"
7069 >
7170 { v }
7271 </ Link >
@@ -76,13 +75,13 @@ const TableVersionHistory = ({ versions = [], dates = [], descriptions = [], mod
7675 </ td >
7776
7877 { /* Date (col 1) */ }
79- < td className = "table-body-cell border table-cell-nowrap" style = { { textAlign : "left" } } title = { d } >
78+ < td className = "border table-body-cell table-cell-nowrap" style = { { textAlign : "left" , verticalAlign : "top" } } title = { d } >
8079 { d }
8180 </ td >
8281
8382 { /* Description (col 2) */ }
8483 < td
85- className = "table-body-cell border "
84+ className = "border table-body-cell"
8685 style = { {
8786 textAlign : "left" ,
8887 verticalAlign : "top" ,
@@ -94,7 +93,7 @@ const TableVersionHistory = ({ versions = [], dates = [], descriptions = [], mod
9493 >
9594 { Array . isArray ( ds ) ? (
9695 ds . length > 1 ? (
97- < ul className = "list-disc pl-5 m-0" >
96+ < ul className = "pl-5 m-0 list-disc " >
9897 { ds . map ( ( item , i ) => (
9998 < li key = { i } > { item } </ li >
10099 ) ) }
@@ -108,17 +107,17 @@ const TableVersionHistory = ({ versions = [], dates = [], descriptions = [], mod
108107 </ td >
109108
110109 { /* Modified By (col 3) */ }
111- < td className = "table-body-cell border table-cell-nowrap" style = { { textAlign : "left" } } title = { m } >
110+ < td className = "border table-body-cell table-cell-nowrap" style = { { textAlign : "left" , verticalAlign : "top" } } title = { m } >
112111 { m }
113112 </ td >
114113
115114 { /* Reviewed By (col 4) */ }
116- < td className = "table-body-cell border table-cell-nowrap" style = { { textAlign : "left" } } title = { r } >
115+ < td className = "border table-body-cell table-cell-nowrap" style = { { textAlign : "left" , verticalAlign : "top" } } title = { r } >
117116 { r }
118117 </ td >
119118
120119 { /* Approved By (col 5) */ }
121- < td className = "table-body-cell border table-cell-nowrap" style = { { textAlign : "left" } } title = { a } >
120+ < td className = "border table-body-cell table-cell-nowrap" style = { { textAlign : "left" , verticalAlign : "top" } } title = { a } >
122121 { a }
123122 </ td >
124123 </ tr >
0 commit comments