#101284
yavordashew
Member

Hi davout,
I have another code snippet for your requirements.
With adding the following code it will position the window inside the container to the right edge and it will be centered vertically within the container.
Note that by default the ‘<smart-window>’ component will be centered vertically without adding additional code.
.smart-window:not(.smart-container){
right: 0 ;
margin-left: auto;
}
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/