Skip to content

Commit 5c4b47e

Browse files
committedJun 9, 2021
update mew select and mew tooltip
1 parent e96e79a commit 5c4b47e

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@myetherwallet/mew-components",
3-
"version": "0.5.75-beta",
3+
"version": "0.5.76-beta",
44
"description": "MEW Components",
55
"main": "dist/mew-components.umd.js",
66
"module": "dist/mew-components.esm.js",

‎src/assets/styles/basics/_typography.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
.mew-body {
4343
/* size - 14px , height - 19px */
44-
font-size: 1rem;
44+
font-size: 1rem !important;
4545
font-weight: 400;
46-
line-height: 1.357rem;
46+
line-height: 1.357rem !important;
4747
}
4848

4949
.mew-caption {

‎src/assets/styles/global.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
html,
99
body {
1010
font-family: 'Roboto', sans-serif;
11-
font-size: 14px;
11+
font-size: 14px !important;
1212
font-style: normal;
1313
font-weight: 400;
1414
}

‎src/components/MewSelect/MewSelect.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
class="mew-caption font-weight-regular textSecondary--text text-capitalize"
153153
>{{ data.item.tokenBalance ? data.item.tokenBalance + ' ' + data.item.symbol : data.item.subtext }}</span></span>
154154
</div>
155-
<div class="d-flex justify-center flex-column">
155+
<div class="d-flex justify-center flex-column align-end">
156156
<span>${{ data.item.totalBalance || data.item.price }}</span>
157157
<span class="mew-caption font-weight-regular textSecondary--text" v-if="data.item.totalBalance">@ ${{ data.item.price }}</span>
158158
</div>

‎src/components/MewTooltip/MewTooltip.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
>
1515
<template v-slot:activator="{ on }">
1616
<v-icon
17-
class="cursor-pointer"
17+
class="cursor-pointer mew-body"
1818
color="searchText"
1919
v-on="on"
2020
>

‎src/scss/variables.scss

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// $card-title-font-size: 8px; /mew-heading -2
2+
// text, link -> mew-body
3+
4+
// Required for modifying core defaults
5+
// @import '~vuetify/src/styles/styles.sass';

0 commit comments

Comments
 (0)
Please sign in to comment.