Skip to content

[BUG] Striped table does not work on minified pico css version #42

Closed
@anthony-robin

Description

@anthony-robin

Please search for duplicate or closed issues first. ✔️

Describe the issue

Current Behavior

When using minified version of pico (pico.min.css), .striped class applied on table does not appears.
When switching back to the non minified version (pico.css) it works as expected.

Expected Behavior

Striped table should work for both minified and unminified version of pico

Reproduction URL

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.4/css/pico.min.css" />

<table class="striped">
	<thead>
		<tr>
			<th scope="col">Planet</th>
			<th scope="col">Diam. (km)</th>
			<th scope="col">Dist. to Sun (AU)</th>
			<th scope="col">Grav. (m/s²)</th>
		</tr>
	</thead>

	<tbody>
		<tr>
			<th scope="row">Mercury</th>
			<td>4,880</td><td>0.39</td>
			<td>3.7</td>
		</tr>
		<tr>
			<th scope="row">Venus</th>
			<td>12,104</td>
			<td>0.72</td>
			<td>8.9</td>
		</tr>
		<tr>
			<th scope="row">Earth</th>
			<td>12,742</td>
			<td>1.00</td>
			<td>9.8</td>
		</tr>
	</tbody>
</table>

Environment

  • picocss 2.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions