[New] added styling .g-table-dl to use as a <dl>:

<table class="g-table-dl">
  <tr>
    <td>label 1</td>
    <td>value 1</td>
  </tr>
  <tr>
    <td>label 2</td>
    <td>value 2</td>
  </tr>
</table>
This commit is contained in:
Robert von Burg 2022-07-20 10:06:50 +02:00
parent 35d3c93426
commit 1859d1ab15
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-styles",
"description": "Strolch WebComponent Styles",
"version": "0.4.7",
"version": "0.4.8",
"authors": ["Robert von Burg"],
"keywords": [
"strolch",

View File

@ -14,6 +14,14 @@
border-radius: 2px;
}
/*
* table as a data definition list. Works simpler than a dl
*/
.g-table-dl td:first-child {
text-align: right;
padding-right: 5px;
}
/*
* data definition list
*/