Dara: Fix Table of Contents Block #7516
Open
+6
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
The Table of Contents block in Dara is broken because of the styles the theme applies to
[class*=content]:before
. These needs to be overriden for this block. In future, it may be worth reviewing those broad selectors, but that's probably out of scope of this PR.Before:
![Screenshot 2023-11-26 at 11 28 07](https://private-user-images.githubusercontent.com/43215253/285647430-06f23f3e-3363-4230-9e58-72d79d7eebc2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1Mzk0ODUsIm5iZiI6MTczOTUzOTE4NSwicGF0aCI6Ii80MzIxNTI1My8yODU2NDc0MzAtMDZmMjNmM2UtMzM2My00MjMwLTllNTgtNzJkNzlkN2VlYmMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEzMTk0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiZTEzNTRmYTJjOWE0NjM3OGI1MWRlNDQ1N2Q1ZWYzNTA3MjA4NWYxMjk1NTE1NTFjZDc3NDRjY2FmZGJiYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lB7wXRI00VNFskm5kdutRasj_I-ucKbVg_ANnLkQKm0)
After:
![Screenshot 2023-11-26 at 11 29 35](https://private-user-images.githubusercontent.com/43215253/285647407-7f1a8413-d4b3-4def-a234-fbc6b9e7bfaa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1Mzk0ODUsIm5iZiI6MTczOTUzOTE4NSwicGF0aCI6Ii80MzIxNTI1My8yODU2NDc0MDctN2YxYTg0MTMtZDRiMy00ZGVmLWEyMzQtZmJjNmI5ZTdiZmFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEzMTk0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3YzVjYzUwYzhhY2I2OTg2ZTFhNWQwZDdkMjQ2ZDcxZjgwOTQwMTQ3ZTBhNjFmMzg5Yjg5YTI3MDNjNmY0ZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZDh9G7_ErooKNREp5fB3ddB9_UhZymj7IXQ1XoJGVKs)
Related issue(s):
User in 7323036-zen was very frustrated by this; they don't have Custom CSS, so I'm filing a fix here.