mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 16:32:16 +00:00
* change position of class icon on profile modal Changed the bottom position of class icon on profile modal * Convert `badgeSize` to pixel Converted the badgeSize prop to pixel value by adding `+ 'px'`.
This commit is contained in:
parent
62602a997c
commit
f9a0939796
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="class-badge d-flex justify-content-center"
|
||||
:style="{'--badge-size': badgeSize}">
|
||||
:style="{'--badge-size': badgeSize + 'px'}">
|
||||
<div
|
||||
class="align-self-center svg-icon"
|
||||
:aria-label="$t(memberClass)"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
&.under-avatar {
|
||||
position: absolute;
|
||||
left: calc(50% - (16px));
|
||||
bottom: -(var(--badge-size) / 2);
|
||||
bottom: calc( (var(--badge-size) / 2) * -1);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue