Page 1 of 1

Borders around controls are displayed too large in Edit mode

Posted: 16 Jan 2020
by wdeffner
Hallo,

we try to improve the readability of form-data in display mode by setting borders in CSS:

.fd_control{
border: 1px dotted grey;
}

This looks very good in display-mode but not so good in edit-mode: the borders are longer than the controls, they extend on the right to the end of the table that contains the controls ends.

Image

Is there a way to fix this?
Is it possible to disable the borders only in edit-mode?

Thanks a lot
Wolfgang

Re: Borders around controls are displayed too large in Edit mode

Posted: 20 Jan 2020
by mnikitina
Hello Wolfgang,

You can either specify the width of the controls as below or remove the CSS from the Edit form.

.fd_control {
border: 1px dotted grey;
width: 100px;
}