Hi.
I use this CSS code to round an image in NG Client:
width:40px;
height:50px;
border-radius:25px;
In 2019.6.2 Servoy version works fine, but with 2022.9.0 Servoy version dosen´t works
Any idea
Thanks
The "bts-media" style is always applied to the image, so for your photo to apply the changes you want in your css, you must create this "bts-media" style in your css and apply the changes there.
I don't know if there should be another property in the image component that would allow this style to be modified, since when making this modification of the "bts-media" this change is applied to all the images of the application and it is not what is desired
/* Using img instead of .bts-media works for both bootstrap component and default Servoy core component */
.your-class-with-round-border > img {
border-radius: 50%;
}
Return to Programming with Servoy
Users browsing this forum: No registered users and 5 guests