Remove Table Header Row font weight #2924
Closed
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.
The default font-weight of the TH element overrides the font-weight of the segment. To resolve this, set the TH font-weight to normal when it has no predefined style. This way, when adding a header row to a table, the bold font-weight will be applied directly to the text segments.
Before the change the bold button was showing the wrong state.
![image](https://private-user-images.githubusercontent.com/87443959/404425910-743f6d3a-4ef7-4668-ae31-901a1ad7a429.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzU2OTgsIm5iZiI6MTczOTM3NTM5OCwicGF0aCI6Ii84NzQ0Mzk1OS80MDQ0MjU5MTAtNzQzZjZkM2EtNGVmNy00NjY4LWFlMzEtOTAxYTFhZDdhNDI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1NDk1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzMDYzMTE1NWJmM2M3YTNkYmM5NTQwMjQ0ZmU2MGY1MDQ1N2RhODE4Y2Y1NzQwY2UzZWZmMzNlN2NkODA0ZWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dy-5z0DaAIpNu2ek4Y4LB7zYWeN4zEmWV6x0pvZNQRs)
After the change the bold button was showing the text is bold, as expected.
![image](https://private-user-images.githubusercontent.com/87443959/404425365-01a41aba-7b8d-4d21-ad31-0c7cb41497c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzU2OTgsIm5iZiI6MTczOTM3NTM5OCwicGF0aCI6Ii84NzQ0Mzk1OS80MDQ0MjUzNjUtMDFhNDFhYmEtN2I4ZC00ZDIxLWFkMzEtMGM3Y2I0MTQ5N2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1NDk1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhMzZjNWZmZjFlOTY5ODZiOTljZTNjYzQ4NzY2YjhhMWYxOTQ5YzRlNzY1OTM2MDIxNGY5YjU4NjY1OGY1ZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.gdTbmrkoSP4vr_oIs3IhjyplwglzhUIcMw39Td-CiFU)