270
Views
5
Comments
CSS prefix -servicestudio-display: none declaration actually works?
Application Type
Reactive

Hi!

I'm finding some trouble with the Outsystems CSS prefix -servicestudio-display to "none".

I don't think if it works in Service Studio, the prefix with color works perfectly but with the display property i'm not sure .... :(


2024-01-09 08-05-30
Dipali Shrawane

Hi, 

What exactly output you want? will you please elaborate.

No such property is available in CSS as you have mentioned '-servicestudio-display'.

you can simply mention 'display:none;'


regards

2022-09-15 09-16-00
Artur Ponte

Hi, :)

I was only testing CSS properties to learn more about it, the display: none; is not working either in the Outsystems Preview Canvas but in the browser it works!

2024-01-09 08-05-30
Dipali Shrawane


Hi,

Please refer below attached OML.

I have taken 2 Containers & have same text inside.

As well as created 1 css .class named 'test' and applied to only second container.

The container where i have applied display:none property will dissapear and you will get only output as other container.

Publish module once by removing added class from style property of second container and you will get text from both the container as output.

Demo.oml
2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi Artur,

what ss version are you using, on what operating system.

I have no problem with this, 

I'm on Version 11.53.25 / Build 61588 on windows

2024-10-04 07-29-08
Sangam Patel

Simply add -- instead of - like --servicestudio-display: none;

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.