Borders around controls are displayed too large in Edit mode

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
wdeffner
Posts: 30
Joined: Thu Sep 22, 2016

16 Jan 2020

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
Attachments
borders.JPG
borders.JPG (14.28 KiB) Viewed 1452 times

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

20 Jan 2020

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;
}

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests