From b96061b27a565f83970ff73b2751875df8a9b06f Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 3 Nov 2022 14:21:17 -0600 Subject: [PATCH] Hide links with no value in nm for better vertical spacing For example, timesheet & infolog have link above subject, this removes the space for it when the entry has no link --- api/templates/default/etemplate2.css | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 9f8a85d0b8..df63659835 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1084,17 +1084,9 @@ div.et2_link_entry:after { } /* Special layout for inside nm grid */ -.et2_nextmatch div.et2_link_entry { - padding-right: 4px; -} - -.et2_nextmatch .et2_link_entry:after { - margin: -12px; -} - -div.et2_link_entry select, div.et2_link_entry { - /*width: 40%;*/ - margin-right: 10px; +/* Hide links with no value entirely for better spacing*/ +.et2_nextmatch et2-link[entryid=""] { + display: none; } /* Icons in app selection */