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

fix menu padding in button… · bootstrap-vue/bootstrap-vue@d57a643 · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+10

-4

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+10

-4

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

@@ -133,3 +133,10 @@

133 133

}

134 134

}

135 135

}

136 + 137 +

// Button only mode menu padding overrides

138 +

.b-form-btn-label-control.btn-group {

139 +

> .dropdown-menu {

140 +

padding: 0.5rem;

141 +

}

142 +

}

Original file line number Diff line number Diff line change

@@ -84,7 +84,7 @@ describe('form-date', () => {

84 84

await waitRAF()

85 85 86 86

expect(wrapper.classes()).toContain('b-form-datepicker')

87 -

expect(wrapper.classes()).not.toContain('b-form-btn-label-control')

87 +

expect(wrapper.classes()).toContain('b-form-btn-label-control')

88 88

expect(wrapper.classes()).not.toContain('form-control')

89 89

expect(wrapper.classes()).toContain('dropdown')

90 90

expect(wrapper.classes()).not.toContain('show')

Original file line number Diff line number Diff line change

@@ -83,7 +83,7 @@ describe('form-timepicker', () => {

83 83

await waitRAF()

84 84 85 85

expect(wrapper.classes()).toContain('b-form-timepicker')

86 -

expect(wrapper.classes()).not.toContain('b-form-btn-label-control')

86 +

expect(wrapper.classes()).toContain('b-form-btn-label-control')

87 87

expect(wrapper.classes()).not.toContain('form-control')

88 88

expect(wrapper.classes()).toContain('dropdown')

89 89

expect(wrapper.classes()).not.toContain('show')

Original file line number Diff line number Diff line change

@@ -284,12 +284,11 @@ export const BVFormBtnLabelControl = /*#__PURE__*/ Vue.extend({

284 284

return h(

285 285

'div',

286 286

{

287 -

staticClass: 'dropdown',

287 +

staticClass: 'b-form-btn-label-control dropdown',

288 288

class: [

289 289

this.directionClass,

290 290

{

291 291

'btn-group': buttonOnly,

292 -

'b-form-btn-label-control': !buttonOnly,

293 292

'form-control': !buttonOnly,

294 293

[`form-control-${size}`]: !!size && !buttonOnly,

295 294

'd-flex': !buttonOnly,

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