glib-web 3.19.1 → 3.19.2

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/app.vue CHANGED
@@ -170,16 +170,6 @@ export default {
170
170
  </script>
171
171
 
172
172
  <style lang="scss">
173
- // h1,
174
- // h2,
175
- // h3,
176
- // h4,
177
- // h5,
178
- // h6,
179
- // span {
180
- // line-height: 1;
181
- // }
182
-
183
173
  body {
184
174
  // Hide superfluous scrollbar (Edge)
185
175
  -ms-overflow-style: none;
@@ -45,7 +45,6 @@ a {
45
45
 
46
46
  /* Without this, padding-top doesn't work */
47
47
  display: inline-block;
48
- line-height: 1;
49
48
  }
50
49
 
51
50
  span.muted {
@@ -60,3 +59,10 @@ a:hover {
60
59
  text-decoration: none;
61
60
  }
62
61
  </style>
62
+
63
+ <!-- Overridable -->
64
+ <style lang="scss">
65
+ .views-label {
66
+ line-height: 1;
67
+ }
68
+ </style>
@@ -304,6 +304,9 @@ export default {
304
304
  }
305
305
  });
306
306
 
307
+ // Use this to override glib's default styling by being more specific.
308
+ classes.push("glib-override")
309
+
307
310
  return classes;
308
311
  }
309
312
  }
@@ -33,11 +33,11 @@
33
33
 
34
34
  <tr v-if="section.header" :style="genericStyles(section.header)">
35
35
  <template v-if="section.header.dataCells">
36
- <th v-for="(cell, index) in section.header.dataCells" :key="index">
36
+ <th v-for="(cell, index) in section.header.dataCells" :key="index" :colSpan="colSpan(section.header, index)">
37
37
  {{ cell }}
38
38
  </th>
39
39
  </template>
40
- <th v-for="(cell, index) in section.header.cellViews" v-else :key="index">
40
+ <th v-for="(cell, index) in section.header.cellViews" v-else :key="index" :colSpan="colSpan(section.header, index)">
41
41
  <glib-component :spec="cell" />
42
42
  </th>
43
43
  </tr>
@@ -179,7 +179,6 @@ tbody {
179
179
  border-top: 1px solid rgba(0, 0, 0, 0.12);
180
180
 
181
181
  span {
182
- padding: 10px 24px;
183
182
  display: block;
184
183
  color: inherit;
185
184
  cursor: default;
@@ -204,3 +203,14 @@ table.table--grid {
204
203
  }
205
204
  }
206
205
  </style>
206
+
207
+ <!-- Overridable -->
208
+ <style lang="scss">
209
+ .panels-table {
210
+ td {
211
+ > span {
212
+ padding: 10px 24px;
213
+ }
214
+ }
215
+ }
216
+ </style>
package/nav/dialog.vue CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  <panels-responsive v-if="header" :spec="header" />
7
7
  <div :class="`dialog-title ${title ? '' : 'dialog-absolute'}`">
8
- <h3 v-if="title">
8
+ <h1 class="view-h1" v-if="title">
9
9
  {{ title }}
10
- </h3>
10
+ </h1>
11
11
  <div v-else></div>
12
12
 
13
13
  <v-btn v-if="!disableCloseButton" size="small" text icon @click="close" variant="flat">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glib-web",
3
- "version": "3.19.1",
3
+ "version": "3.19.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {