-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Upgrade to 2.12.0 affects <b-avatar>
default slot content alignment
#5205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Dean-Christian-Armada opened this issue
Apr 21, 2020
· 2 comments
· Fixed by #5207 · May be fixed by leonyork/cognito-oauth2-demo#1
Closed
Upgrade to 2.12.0 affects <b-avatar>
default slot content alignment
#5205
Dean-Christian-Armada opened this issue
Apr 21, 2020
· 2 comments
· Fixed by #5207 · May be fixed by leonyork/cognito-oauth2-demo#1
Labels
Status: Fixed / Implemented
Issue fixed by a new release
Status: Workaround Available
Type: Bug
Type: SCSS
Comments
<b-avatar>
custom texts.
tmorehouse
added a commit
that referenced
this issue
Apr 21, 2020
21 tasks
A fix is on it's way. In the meantime, you can use the following css to address it: .b-avatar .b-avatar-custom {
align-items: center;
} Or if using scoped CSS: .b-avatar /deep/ .b-avatar-custom {
align-items: center;
} |
<b-avatar>
default slot content alignment
BootstrapVue v2.13.0 has been released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Fixed / Implemented
Issue fixed by a new release
Status: Workaround Available
Type: Bug
Type: SCSS
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Upgrade to 2.12.0 destroys
<b-avatar>
custom texts.Expected behavior
Before, I was using 2.9.0, when I upgraded to 2.12.0 the vertical alignment is on the very top of the avatar where it was in the middle before the upgrade.
Environment:
Additional context
I did a little inspect element in Google Chrome and below is the comparison between the
<b-avatar>
of 2.12.0 and 2.9.02.12.0
2.9.0
The main difference is in 2.12.0, there is a
<span class="b-avatar-custom">
inside my span. To be precise, the css rule ofheight: 100%
inb-avatar-custom
made my texts vertically aligned. If you commented theheight:100%
it will become fine again in the center. Below is how I used b-avatar in my VueJSThe text was updated successfully, but these errors were encountered: