1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 00:38:51 +02:00

Fix answer background color when using Dark Mode in Ponder

Summary:
This CSS fix replaces the hard coded white background value by the page.content CSS variable.

| Before  | After   |
|---------|---------|
|{F332921}|{F332922}|

Test Plan:
- Flush all Phorge caches
- Sign in
- Go to question with at least one answer.
- Check that the answer block background color is consistent with the theme.
- Do these steps for each user interface theme in order to check against regression.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25393
This commit is contained in:
bob 2023-08-28 10:38:53 +02:00
parent beec08e019
commit 0ec3291ff4

View file

@ -77,7 +77,7 @@
}
.ponder-answer-view .ponder-answer-content {
background-color: #fff;
background-color: {$page.content};
padding: 16px 16px 0 16px;
}