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
Currently, _BlockTable.scss uses the following, which require additional scss dependencies:
@extend .BlockText which requires importing _BlockText.scss to the Vue.js component as well
@apply ... text-subtitle ... which requires importing _typography.scss to the Vue.js component
I would prefer to eliminate the need for these workarounds and handle the imports locally in _BlockTable.scss (in some way that doesn't duplicate class definitions) or for .text-subtitle, to apply the equivalent tailwindcss classes.
Additionally, since styles are declared for all of the table markup elements, can we eliminate all of the inline classes in the template? Right now the CSS styles for .BlockTable are overriding the inline classes.
The text was updated successfully, but these errors were encountered:
stephiescastle
changed the title
Rework _BlockTable.scss to allow for a la carte imports in Vue.js or document the workaround
Rework _BlockTable.scss to allow for a la carte imports in Vue.js
Apr 1, 2022
Description
_BlockTable.scss
uses the following, which require additional scss dependencies:@extend .BlockText
which requires importing_BlockText.scss
to the Vue.js component as well@apply ... text-subtitle ...
which requires importing_typography.scss
to the Vue.js componentI would prefer to eliminate the need for these workarounds and handle the imports locally in
_BlockTable.scss
(in some way that doesn't duplicate class definitions) or for.text-subtitle
, to apply the equivalent tailwindcss classes.Here's a relevant discussion in www-frontend: https://github.com/nasa-jpl/www-frontend/pull/1346#discussion_r842164357
.BlockTable
are overriding the inline classes.The text was updated successfully, but these errors were encountered: