Skip to main content
Apr 29, 2021 1:54 PM UTC
Solved

Border selecting the value display

Hello,

 

I'm using a mashup collection to handle my menu. In the menu mashup I have a value display. Unfortunately when the user click on it a border appears around it. I think this is due to

 

root : {

--ptcs-focus-overlay--border-width: 2px;

}

How can I avoid that? I'm using ThingWorx 9.1.1-b483

yhanAnswer
May 6, 2021 3:53 AM UTC

Hi @gch,

 

Got your issue,  you can add the following to the "custom CSS" tab of the mashup.

ptcs-focus-overlay {
visibility: hidden;
}

5-6-2021 11-51-36 AM.jpg

Then the border wouldn't appear when you click the value.

 

Thanks,

/Yoyo

4 replies

Apr 30, 2021 6:02 AM UTC

Hi @gch,

 

Please check if below steps can help you resolve this issue:

1. Access the Style Properties pane of menu in master definition;

2. In Style Properties pane, select MenuStyle and change Line Thickness to a small value

 

Thanks,

/Yoyo

gchAuthor
Apr 30, 2021 12:45 PM UTC

Hi Yoyo, I'm not using the TW Menu item, I'm using the value display widget. I already tried to modify the style without success.

yhanAnswer
May 6, 2021 3:53 AM UTC

Hi @gch,

 

Got your issue,  you can add the following to the "custom CSS" tab of the mashup.

ptcs-focus-overlay {
visibility: hidden;
}

5-6-2021 11-51-36 AM.jpg

Then the border wouldn't appear when you click the value.

 

Thanks,

/Yoyo