pickadate.js icon indicating copy to clipboard operation
pickadate.js copied to clipboard

Some text cut when selectYears: true or selectMonths: true

Open keyurpatel30 opened this issue 7 years ago • 5 comments

I am using Chrome to test & check.

Some of the dropdown selected item display text is cut from the bottom as shown in the images below.

Example image from the website (only if dropdown selectors are set to true): image

Somehow looks even worse on the website I use it on:

image

and

image

keyurpatel30 avatar Jan 23 '18 02:01 keyurpatel30

See https://github.com/amsul/pickadate.js/issues/384#issuecomment-343077594

Add this to your CSS:

.picker__select--month, .picker__select--year {
  padding:0;
}

rrikesh avatar Apr 06 '18 07:04 rrikesh

Worked like a charm, thank you!

keyurpatel30 avatar Apr 09 '18 02:04 keyurpatel30

So this is a bug then?

DanielRuf avatar Apr 09 '18 04:04 DanielRuf

I get the bug on the dropdown selectors example - http://amsul.ca/pickadate.js/date/#selectors - only on Firefox Mac. Looks good on Chrome and Safari.

rrikesh avatar Apr 09 '18 04:04 rrikesh

I do this:

.picker__select--month, .picker__select--year { height: auto; }

I find that padding 0 makes the dropdowns a bit too narrow

clearwaterstream avatar Apr 18 '19 15:04 clearwaterstream