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
To do that replace split the large multiline string into the individual class selectors. For each class selector, define a two-tuple where the first item is the selector and the second item is a dictionary with the declarations. For example:
We recently merged #257 that introduced a helper function on how to define CSS class selectors in our Python code. We turned
ragna/ragna/deploy/_ui/central_view.py
Lines 296 to 328 in a437e7e
into
ragna/ragna/deploy/_ui/central_view.py
Lines 296 to 324 in 2056246
We need to apply this to all occurrences inside our UI code, i.e. https://github.com/Quansight/ragna/tree/main/ragna/deploy/_ui.
To do that replace split the large multiline string into the individual class selectors. For each class selector, define a two-tuple where the first item is the selector and the second item is a dictionary with the declarations. For example:
ragna/ragna/deploy/_ui/central_view.py
Lines 299 to 307 in a437e7e
needs to be transformed into
ragna/ragna/deploy/_ui/central_view.py
Lines 298 to 309 in 2056246
After you have done this for every class selector, pass all the tuples to the new
stylesheets
function.Of course you can do this in a single PR, but doing this incrementally, i.e. one component at a time is also perfectly fine.
The text was updated successfully, but these errors were encountered: