@djcali570/component-lib 0.0.9 → 0.0.10

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.
Files changed (2) hide show
  1. package/dist/Chart5.svelte +11 -6
  2. package/package.json +1 -1
@@ -69,7 +69,7 @@
69
69
  <!-- Y-axis labels -->
70
70
  <div class="yaxis">
71
71
  {#each yAxis as label, i}
72
- <div class="yaxis__label" style="bottom: {(i / yAxis.length) * 100 - 2.6}%;">
72
+ <div class="yaxis__label" style="bottom: {(i / yAxis.length) * 100 - 3.2}%;">
73
73
  {label}
74
74
  </div>
75
75
  {/each}
@@ -135,7 +135,7 @@
135
135
  flex-direction: column;
136
136
  justify-content: center;
137
137
  align-items: center;
138
- font-family: Arial, sans-serif;
138
+ font-family: inherit, sans-serif, Helvetica;
139
139
  }
140
140
 
141
141
  .chart5__layout__container {
@@ -156,16 +156,21 @@
156
156
  }
157
157
 
158
158
  .yaxis {
159
- padding-right: 0.5rem;
159
+ position: relative;
160
+ padding-right: 0.5em;
160
161
  height: 100%;
161
- width: 1em;
162
+ width: 1.2em;
163
+ box-sizing: border-box;
162
164
  }
163
165
 
164
166
  .yaxis__label {
165
167
  position: absolute;
168
+ width: 100%;
166
169
  text-align: right;
167
170
  font-size: 0.9rem;
168
171
  color: var(--chart5__yTextColor);
172
+ padding-right: 0.25em;
173
+ box-sizing: border-box;
169
174
  }
170
175
 
171
176
  .data-area {
@@ -247,7 +252,7 @@
247
252
  color: var(--chart5__xTextColor);
248
253
  }
249
254
  .xaxis__dummy {
250
- width: 1em;
251
- padding-right: 0.5rem;
255
+ width: 1.2em;
256
+ padding-right: 0.5em;
252
257
  }
253
258
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djcali570/component-lib",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",