@pageboard/html 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/elements/table.js CHANGED
@@ -206,6 +206,9 @@ exports.table_head_cell = {
206
206
  contents: "block+",
207
207
  tag: 'th',
208
208
  inplace: true,
209
- html: '<th class="[align|post: aligned] [width|as:colnums|post: wide]" rowspan="[rowspan]" colspan="[colspan]"></th>'
209
+ html: '<th class="[align|post: aligned] [width|as:colnums|post: wide]" rowspan="[rowspan]" colspan="[colspan]"></th>',
210
+ stylesheets: [
211
+ "../ui/table.css"
212
+ ]
210
213
  };
211
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pageboard/html",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -8,6 +8,7 @@
8
8
  position: relative;
9
9
  border: 1px solid gray;
10
10
  border-radius: 4px;
11
+ text-align: center;
11
12
  }
12
13
  .field.button > .radio > input + label:hover {
13
14
  opacity:1;
package/ui/table.css ADDED
@@ -0,0 +1,7 @@
1
+ table tr:has(input:checked) {
2
+ background-color:rgba(0 0 0 / 10%);
3
+ }
4
+
5
+ .ui.compact.table td {
6
+ padding: 0 0.7em;
7
+ }