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

minor adjustments to styling and … · bootstrap-vue/bootstrap-vue@f0d8ffe · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+39

-1

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+39

-1

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

@@ -37,6 +37,11 @@

37 37

// Easy rounded corners on contained elements,

38 38

// specifically the footer of the calendar grid

39 39

overflow: hidden;

40 + 41 +

.row {

42 +

// Prevent grid rows from wrapping

43 +

flex-wrap: nowrap;

44 +

}

40 45

}

41 46 42 47

.b-calendar-grid-caption {

Original file line number Diff line number Diff line change

@@ -481,6 +481,39 @@ You can use the `isRTL` scoped property to "flip" the prev vs next button conten

481 481

left-to-right to right-to-left orientation change — i.e. the previous year button will be on

482 482

the right when `isRTL` is `true`, instead of the left.

483 483 484 +

### Full width calendar dropdown

485 + 486 +

To create a full width calendar dropdown (where the width matches the input width), simply set the

487 +

`menu-class` prop to `'w-100'` and set the `calendar-width` prop to `'100%'`:

488 + 489 +

```html

490 +

<template>

491 +

<div>

492 +

<label for="datepicker-full-width">Choose a date</label>

493 +

<b-form-datepicker

494 +

id="datepicker-full-width"

495 +

v-model="value"

496 +

menu-class="w-100"

497 +

calendar-width="100%"

498 +

class="mb-2"

499 +

></b-form-datepicker>

500 +

<p>Value: '{{ value }}'</p>

501 +

</div>

502 +

</template>

503 + 504 +

<script>

505 +

export default {

506 +

data() {

507 +

return {

508 +

value: ''

509 +

}

510 +

}

511 +

}

512 +

</script>

513 + 514 +

<!-- b-form-datepicker-full-width.vue -->

515 +

```

516 + 484 517

## Internationalization

485 518 486 519

Internationalization of the date picker's calendar is provided via

Original file line number Diff line number Diff line change

@@ -530,7 +530,7 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({

530 530

{

531 531

key: 'calendar',

532 532

ref: 'calendar',

533 -

staticClass: 'b-form-date-calendar',

533 +

staticClass: 'b-form-date-calendar w-100',

534 534

props: this.calendarProps,

535 535

on: {

536 536

selected: this.onSelected,

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