Skip to main content
12-Amethyst
March 9, 2021
Solved

CSS underlying mashup messes up main mashup

  • March 9, 2021
  • 1 reply
  • 1408 views

CSS in my underlying mashup:

.edit-sim .BMCollectionViewSupplementaryView, .BMCollectionViewCellWrapper {
position: relative !important;
left: auto !important;
top: auto !important;
transform: none !important;
width: 100% !important;
}

 

I added a custom class to the collection in my underlying widget (edit-sim).

However, the width 100% messes up my main mashup that contains a collection widget.

All cells in this collection widget (that I gave the custom class 'collection') line out and fill the whole width.

How to add an extra CSS part in this main mashup that puts away the width 100%?

 

Thanks in advance

Best answer by TS_9588135

I solved it by adding the CSS of the underlying mashup in the custom CSS of my main mashup 🙂 

1 reply

Support
March 19, 2021

Hi @TS_9588135.

 

Can you provide some screenshots--one showing the issue and one depicting what you want to see?  Would it be possible for you to share the mashup so we can see this for ourselves?

 

Please also provide the version of ThingWorx you are running.

 

Regards.

 

--Sharon

TS_958813512-AmethystAuthorAnswer
12-Amethyst
April 1, 2021

I solved it by adding the CSS of the underlying mashup in the custom CSS of my main mashup 🙂