@txstate-mws/svelte-components 1.7.3 → 1.7.4

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.
@@ -130,11 +130,13 @@ to be displayed instead.
130
130
  position: relative;
131
131
  box-sizing: border-box;
132
132
  }
133
- th[role="button"] {
133
+ /* PopupMenu replaces our role="button" with role="combobox", so key off the tabindex we set instead */
134
+ th[tabindex] {
134
135
  cursor: pointer !important;
135
136
  }
136
- th.defaultIcon :global([role="button"]) {
137
- padding-right: 1.3em;
137
+ /* reserve room for the icon; extra specificity to beat framework rules like fomantic's .ui.table > thead > tr > th */
138
+ thead > tr > th.defaultIcon[tabindex] {
139
+ padding-right: 1.6em;
138
140
  }
139
141
  th.defaultIcon :global(i) {
140
142
  transform: translateY(-50%) rotate(45deg);
@@ -144,7 +146,7 @@ to be displayed instead.
144
146
  }
145
147
  th :global(i) {
146
148
  position: absolute;
147
- right: 0.4em;
149
+ right: 0.7em;
148
150
  top: calc(50% - 0.08em);
149
151
  }
150
152
  .stickyheader th {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@txstate-mws/svelte-components",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Svelte components that are generically useful.",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",