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/e8842bae98e83d16f3429b37f219ae61890a5c38 below:

label styles when in `butto… · bootstrap-vue/bootstrap-vue@e8842ba · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+203

-216

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+203

-216

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

@@ -208,17 +208,18 @@ export const BVFormBtnLabelControl = /*#__PURE__*/ Vue.extend({

208 208

const $label = h(

209 209

'label',

210 210

{

211 -

staticClass: 'form-control text-break text-wrap bg-transparent h-auto',

212 -

class: [

213 -

{

214 -

// Hidden in button only mode

215 -

'sr-only': buttonOnly,

216 -

// Mute the text if showing the placeholder

217 -

'text-muted': !value

218 -

},

219 -

this.stateClass,

220 -

this.sizeFormClass

221 -

],

211 +

class: buttonOnly

212 +

? 'sr-only' // Hidden in button only mode

213 +

: [

214 +

'form-control',

215 +

'text-break',

216 +

'text-wrap',

217 +

'bg-transparent',

218 +

// Mute the text if showing the placeholder

219 +

{ 'text-muted': !value },

220 +

this.stateClass,

221 +

this.sizeFormClass

222 +

],

222 223

attrs: {

223 224

id: idLabel,

224 225

for: idButton,

Original file line number Diff line number Diff line change

@@ -53,9 +53,6 @@ export const props = makePropsConfigurable(

53 53

...modelProps,

54 54

...calendarProps,

55 55

...formBtnLabelControlProps,

56 -

buttonOnly: makeProp(PROP_TYPE_BOOLEAN, false),

57 -

// Applicable in button only mode

58 -

buttonVariant: makeProp(PROP_TYPE_STRING, 'secondary'),

59 56

// Width of the calendar dropdown

60 57

calendarWidth: makeProp(PROP_TYPE_STRING, '270px'),

61 58

closeButton: makeProp(PROP_TYPE_BOOLEAN, false),

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