Commit 60b91b4
authored
Fix text sizing of feature gate table (#527)
## Description
<!-- Provide a brief description of the changes in this PR -->
Fixes text sizing
## Type of change
<!-- Check the appropriate options that apply to this PR -->
- [ ] Bug fix
- [ ] New feature
- [ ] Protocol integration
- [ ] Documentation update
- [x] Other (please describe): readability
## Screenshots
<!-- For UI changes, especially protocol screens, include screenshots
showing the changes -->
<!-- This is REQUIRED for protocol integration PRs -->
## Testing
<!-- Describe how you tested your changes -->
<!-- For protocol integrations, explain how you verified the protocol
data is correctly displayed -->
## Related Issues
<!-- Link to any related issues this PR addresses -->
<!-- Example: Fixes #123, Addresses #456 -->
## Checklist
<!-- Verify that you have completed the following before requesting
review -->
- [x] My code follows the project's style guidelines
- [ ] I have added tests that prove my fix/feature works
- [x] All tests pass locally and in CI
- [ ] I have updated documentation as needed
- [ ] CI/CD checks pass
- [ ] I have included screenshots for protocol screens (if applicable)
- [ ] For security-related features, I have included links to related
information
## Additional Notes
<!-- Add any other context about the PR here -->
<!-- For Solana Verify (Verified Builds) related changes, note that bugs
should be reported to disclosures@solana.org -->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Adjusts text sizes in feature gate table for improved readability by
modifying SCSS and TSX files.
>
> - **CSS Adjustments**:
> - Added `.small-headers` class in `_tables.scss` to set `font-size` to
`0.7125rem` for table headers.
> - Applied `.small-headers` class to `div` in `featureGate.tsx` to
adjust header text size.
> - **HTML Structure**:
> - Changed `<h3>` to `<h4>` in `featureGate.tsx` for card header title.
> - Added `fs-sm` class to various elements in `featureGate.tsx` to
standardize small font size for feature titles, descriptions, and
buttons.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=solana-foundation%2Fexplorer&utm_source=github&utm_medium=referral)<sup>
for cd93dfc. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent f8c563e commit 60b91b4
File tree
2 files changed
+11
-7
lines changed- app
- scss/dashkit
- utils/feature-gate
2 files changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments