Skip to content

Commit

Permalink
Download page date text is grey and difficult to read (#1962)
Browse files Browse the repository at this point in the history
* Download page date text is grey and difficult to read

* fix tests

* fix tests

* fix for the market place too
  • Loading branch information
Ndacyayisenga-droid authored Jul 6, 2023
1 parent a04d4a6 commit 63a1675
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ exports[`MarketplaceDownloadTable component > renders correctly 1`] = `
</span>
<br />
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down Expand Up @@ -247,7 +247,7 @@ exports[`MarketplaceDownloadTable component > renders correctly 1`] = `
</span>
<br />
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MarketplaceDownloadTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DownloadTable = ({results}) => {
<br></br>
<span>{pkg.binary.image_type == 'jdk' ? 'JDK' : 'JRE'}</span>
<br></br>
<span className="text-white text-muted">{localeDate(pkg.binary.timestamp, language)}</span>
<span className="text-white">{localeDate(pkg.binary.timestamp, language)}</span>
<span>
{(Math.floor((Date.now() - new Date(pkg.binary.timestamp).getTime()) / (1000 * 60 * 60 * 24)) > 180) &&
<span className="text-warning">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ exports[`TemurinDownloadTable component > renders correctly - with source 1`] =
</a>
</span>
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down Expand Up @@ -250,7 +250,7 @@ exports[`TemurinDownloadTable component > renders correctly - with source 1`] =
</a>
</span>
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down Expand Up @@ -476,7 +476,7 @@ exports[`TemurinDownloadTable component > renders correctly 1`] = `
</a>
</span>
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down Expand Up @@ -619,7 +619,7 @@ exports[`TemurinDownloadTable component > renders correctly 1`] = `
</a>
</span>
<span
class="text-white text-muted"
class="text-white"
>
January 1, 2020
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/TemurinDownloadTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const TemurinDownloadTable = ({results}) => {
/>
</Link>
</span>
<span className="text-white text-muted">{localeDate(pkg.release_date, language)}</span>
<span className="text-white">{localeDate(pkg.release_date, language)}</span>
</td>
<td className="align-middle w-20">{capitalize(pkg.os)}</td>
<td className="align-middle w-20">{pkg.architecture}</td>
Expand Down

0 comments on commit 63a1675

Please sign in to comment.