Commit 2beb91d
Drop Variables tab SCSS in favor of inline Tailwind
The variables-tab component had a small per-page SCSS file (18 lines)
that only ever applied @apply directives to BEM class names invented
to host them — the classes added no semantic value beyond being a
selector for the styles. Move each rule inline as Tailwind classes on
the elements it targeted, drop the BEM names that nothing else
references, delete the SCSS file, and remove styleUrls from the
component decorator.
Per-page SCSS removed:
- pt-5 on the env-code-block wrapper → class on the wrapper div
- pt-5 on .card-content → class on card-body
- m-0 whitespace-pre-wrap on inner <pre> → class on each <pre>
- pt-[15px] on non-first sections → [&:not(:first-of-type)]:pt-[15px]
arbitrary variant on the section wrappers
Global SCSS classes the page still uses (card, card-header, card-body,
btn-icon, btn-success) are out of scope for this commit — they're
shared with many other pages and need a coordinated sweep.1 parent b543788 commit 2beb91d
3 files changed
Lines changed: 8 additions & 28 deletions
File tree
- src/frontend/packages/cloud-foundry/src/features/applications/application/application-tabs-base/tabs/variables-tab
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
0 commit comments