@dataloop-ai/components 0.17.73 → 0.17.74
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/package.json
CHANGED
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
<dl-icon
|
|
16
16
|
v-if="showTooltip"
|
|
17
17
|
:size="iconSize"
|
|
18
|
+
:inline="false"
|
|
18
19
|
icon="icon-dl-info"
|
|
19
20
|
class="info-icon"
|
|
20
|
-
color="dl-color-
|
|
21
|
+
color="dl-color-lighter"
|
|
21
22
|
/>
|
|
22
23
|
<dl-tooltip v-if="showTooltip === true">
|
|
23
24
|
{{ tooltip }}
|
|
@@ -57,8 +58,8 @@ export default defineComponent({
|
|
|
57
58
|
},
|
|
58
59
|
computed: {
|
|
59
60
|
iconSize(): string {
|
|
60
|
-
const fontSize =
|
|
61
|
-
return `${fontSize - 2 < 0 ? 0 : fontSize -
|
|
61
|
+
const fontSize = parseInt(this.fontSize)
|
|
62
|
+
return `${fontSize - 2 < 0 ? 0 : fontSize - 6}px`
|
|
62
63
|
},
|
|
63
64
|
cssFontSize(): Record<string, string> {
|
|
64
65
|
return {
|
|
@@ -111,7 +112,6 @@ export default defineComponent({
|
|
|
111
112
|
display: flex;
|
|
112
113
|
align-items: center;
|
|
113
114
|
justify-content: center;
|
|
114
|
-
gap: 5px;
|
|
115
115
|
&--active {
|
|
116
116
|
color: var(--dl-color-secondary);
|
|
117
117
|
border-color: var(--dl-color-secondary) !important;
|
|
@@ -148,4 +148,7 @@ export default defineComponent({
|
|
|
148
148
|
cursor: pointer;
|
|
149
149
|
flex-grow: 1;
|
|
150
150
|
}
|
|
151
|
+
.info-icon {
|
|
152
|
+
margin: 0px 5px;
|
|
153
|
+
}
|
|
151
154
|
</style>
|