Skip to content
Permalink
Browse files
fix(b-avatar): badge z-index handling (#5975)
  • Loading branch information
jacobmllr95 committed Oct 28, 2020
1 parent 0e22540 commit ecb33bdb510832096bc5a5196a11c97388bf6411
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -236,7 +236,7 @@ When set to `true` (or the empty string `''`), it uses the Bootstrap default of

```html
<template>
<div style="font-size: 2rem;">
<div>
<b-avatar rounded="sm"></b-avatar>
<b-avatar rounded></b-avatar>
<b-avatar rounded="lg"></b-avatar>
@@ -381,7 +381,7 @@ Add textual content to the badge by supplying a string to the `badge` prop, or u

```html
<template>
<div style="font-size: 2rem">
<div>
<b-avatar badge="BV"></b-avatar>
<b-avatar badge="7" variant="primary" badge-variant="dark"></b-avatar>
<b-avatar badge-variant="info" src="https://placekitten.com/300/300">
@@ -99,7 +99,7 @@
border-radius: 10em;
font-size: 70%;
font-weight: 700;
z-index: 5;
z-index: 1;
}
}

@@ -142,7 +142,7 @@
a,
.btn {
&.b-avatar:hover:not(.disabled):not(disabled) {
z-index: 3;
z-index: 1;
}
}
}

0 comments on commit ecb33bd

Please sign in to comment.