A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/9f78f32d964b187f35a1feffb7aa4bc264587923 below:

remove duplicate button variant class (#5056) · bootstrap-vue/bootstrap-vue@9f78f32 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-2

lines changed Original file line number Diff line number Diff line change

@@ -161,14 +161,15 @@ export const BAvatar = /*#__PURE__*/ Vue.extend({

161 161

const fontSize = size ? `calc(${size} * ${FONT_SIZE_SCALE})` : null

162 162

$content = h('span', { style: { fontSize } }, text)

163 163

} else {

164 +

// Fallback default avatar content

164 165

$content = h(BIconPersonFill, { attrs: { 'aria-hidden': 'true', alt } })

165 166

}

166 167 167 168

const componentData = {

168 169

staticClass: CLASS_NAME,

169 170

class: {

170 -

// We use badge/button styles for theme variants

171 -

[`${isButton ? 'btn' : 'badge'}-${variant}`]: !!variant,

171 +

// We use badge styles for theme variants when not rendering `BButton`

172 +

[`badge-${variant}`]: !isButton && variant,

172 173

// Rounding/Square

173 174

rounded: rounded === true,

174 175

'rounded-0': square,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4