You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't seem to work when we're using (s)css modules, and after repeated attempts to fix this without fully understanding what's going on under the hood, I've come to the conclusion that we should simply name the classes uniquely and use regular css.
The text was updated successfully, but these errors were encountered:
One thing I've struggled with when porting to this is that it's extremely difficult to modify elements within a tgui-core component. So, the icon within a Button, or the Title portion of a Section.
I ended up employing fairly fragile solutions like: IDComputer__DeptBox > div:first-child
Some uis use custom css to select classes inside tgui components. For instance, the crewmanifest ui targets the title inside sections:
https://github.com/tgstation/tgstation/blob/7da06f543dadfd4bb4d32ea441dc9842a969bdf8/tgui/packages/tgui/styles/interfaces/CrewManifest.scss#L17-L24
This doesn't seem to work when we're using (s)css modules, and after repeated attempts to fix this without fully understanding what's going on under the hood, I've come to the conclusion that we should simply name the classes uniquely and use regular css.
The text was updated successfully, but these errors were encountered: