Fixed table background if body backgrond ist not white

This commit is contained in:
2024-08-25 22:46:49 +02:00
parent a49045f59a
commit 70606f6890
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
<%= javascript_importmap_tags %>
<%= favicon_link_tag asset_path("favicon.png") %>
</head>
<body>
<body class="bg-white">
<%= render "layouts/flash" %>
<header class="container flex items-center justify-between px-4 py-6 mx-auto border-b-2 border-gray-300">
<a href="/" class="text-4xl font-bold text-hsrm-gray">Plottservice Fachbereich AB</a>

View File

@@ -19,7 +19,7 @@
</div>
<%# render partial: "job_card", collection: @printingjobs, as: :job %>
<div class="min-w-full overflow-auto shadow-lg">
<table class="w-full py-8 table-auto">
<table class="w-full py-8 bg-white table-auto">
<thead class="font-semibold tracking-wide bg-gray-200 border-b-2 border-gray-300 text text-hsrm-gray">
<tr>
<th class="w-1 p-2 py-3 text-center"> ID </th>
@@ -49,7 +49,7 @@
</h1>
</div>
<div class="min-w-full overflow-auto shadow-lg">
<table class="w-full py-8 table-auto">
<table class="w-full py-8 bg-white table-auto">
<thead class="font-semibold tracking-wide bg-gray-200 border-b-2 border-gray-300 text text-hsrm-gray">
<tr>
<th class="w-1 p-2 py-3 text-center"> ID </th>
@@ -79,7 +79,7 @@
</h1>
</div>
<div class="min-w-full overflow-auto shadow-lg">
<table class="w-full py-8 table-auto">
<table class="w-full py-8 bg-white table-auto">
<thead class="font-semibold tracking-wide bg-gray-200 border-b-2 border-gray-300 text text-hsrm-gray">
<tr>
<th class="w-1 p-2 py-3 text-center"> ID </th>
@@ -110,7 +110,7 @@
</h1>
</div>
<div class="min-w-full overflow-auto shadow-lg">
<table class="w-full py-8 table-auto">
<table class="w-full py-8 bg-white table-auto">
<thead class="font-semibold tracking-wide bg-gray-200 border-b-2 border-gray-300 text text-hsrm-gray">
<tr>
<th class="w-1 p-2 py-3 text-center"> ID </th>