serenity-is / Serenity

Business Apps Made Simple with Asp.Net Core MVC / TypeScript
https://serenity.is
MIT License
2.6k stars 802 forks source link

Less/css not working with .Net Core serenity #4927

Closed mahmudie closed 4 years ago

mahmudie commented 4 years ago

Hi; I am trying to align the caption of xDialog but it not working. For example, i have made the following less

 .s-Master-zProvincesDialog {
 > .size {
    width: 650px;
  }

.caption {
    width: 200px !important;
    text-align: left !important;
}

.editor {
    text-align: left;
       }
 }

Am I missing anything?

ga5tan commented 4 years ago

does it transpile? can u see it in final CSS ?

mahmudie commented 4 years ago

Found the issue. The problem was with naming of the dialog. When there is the small "z" like zProvincesDialog it is not working but when I changed to capital "Z" like ZProvincesDialog or remove Z it works. I don't know the reason. I could be a validation by serenity or some other issues.