Skip to content

Commit ac25d18

Browse files
committed
Bump to v1.0.3
1 parent c9794ab commit ac25d18

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "react-usage-bar",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "Usage bar, graphic component for React",
55
"main": "build/index.js",
6-
"module": "build/index.mjs",
76
"typings": "build/index.d.ts",
87
"files": [
98
"build/*"

src/index.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
color: inherit;
2525
font-size: 1em;
2626
padding: 8pt;
27+
position: relative;
2728
height: 60pt;
29+
width: 100%;
2830
}
2931
.UsageBar__bar {
3032
position: relative;
@@ -92,7 +94,7 @@
9294
}
9395
.UsageBar__bar__element--tooltip--element__percentage {
9496
opacity: 0.78;
95-
font-size: .9em;
97+
font-size: 0.9em;
9698
margin: 0 0 0 3pt;
9799
}
98100
.UsageBar__bar__element--tooltip::after {
@@ -122,7 +124,7 @@
122124
flex-direction: row;
123125
flex-wrap: wrap;
124126
gap: 12pt;
125-
font-size: .9em;
127+
font-size: 0.9em;
126128
}
127129
.UsageBar__bar__elements__label {
128130
display: flex;
@@ -132,7 +134,8 @@
132134
flex-wrap: nowrap;
133135
}
134136
.UsageBar__bar__elements__label > span,
135-
.UsageBar__bar__elements__label > .UsageBar__bar__element--tooltip--element__percentage {
137+
.UsageBar__bar__elements__label
138+
> .UsageBar__bar__element--tooltip--element__percentage {
136139
color: var(--background-tooltip-color);
137140
}
138141

@@ -149,4 +152,4 @@
149152
letter-spacing: 0.3pt;
150153
line-height: 1.5em;
151154
text-decoration: underline;
152-
}
155+
}

0 commit comments

Comments
 (0)