Skip to content

Commit

Permalink
Merge pull request #37 from PrestaShopCorp/fix/ACCOUNT-371-svg-chromium
Browse files Browse the repository at this point in the history
ACCOUNT-371 : fix SVG bug in chromium
  • Loading branch information
xGouley authored Aug 27, 2020
2 parents 0046bd3 + 544a222 commit 68bd94c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prestashop_accounts_vue_components",
"version": "1.1.0",
"version": "1.1.1",
"main": "./dist/psaccountsVue.common.js",
"files": [
"dist/*",
Expand Down
10 changes: 9 additions & 1 deletion src/components/panel/Account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<b-iconstack
v-if="userIsConnectedAndValidated"
font-scale="1.5"
class="mr-2 align-bottom"
class="mr-2 align-bottom fixed-size"
width="20"
height="20"
>
<b-icon-circle-fill
stacked
Expand Down Expand Up @@ -242,4 +244,10 @@
.slot-margin {
margin-top: 1rem;
}
.fixed-size {
/* Fix a chromium bug (SVG height/width attributes & CSS styles) */
height: 20px;
width: 20px;
display: inline;
}
</style>

0 comments on commit 68bd94c

Please sign in to comment.