DateTimePicker icon indicating copy to clipboard operation
DateTimePicker copied to clipboard

spread date from time

Open djdance opened this issue 9 years ago • 2 comments

can you add more space between left (date) and right (time) areas of popup? or how can i do it by css?

djdance avatar Jan 23 '16 20:01 djdance

ah, some thing helps:

js, string 1359, add " myColumn"+iTempIndex

sDTPickerComp += "<div class='dtpicker-compOutline " + sColumnClass + " myColumn"+iTempIndex+"'>";

css,

.myColumn3
{
    !margin-left:10px;
    border-left:1px solid #ff6000;
}

but i cant find how to avoid line breaks if margin set

djdance avatar Jan 23 '16 21:01 djdance

Add following CSS code to override DateTimePicker.css. This code will work for dateTimeFormat: "dd-MM-yyyy HH:mm".

But to do this you have to first know which dateTimeFormat you are using so that you add a space between appropriate fields.

.dtpicker-comp5
{
    width: 19%;
}

.dtpicker-compOutline:nth-child(3)
{
    margin-right: 5%;
}

nehakadam avatar Jan 26 '16 08:01 nehakadam