Commit 7f32c7c 1 parent f8e4f3d commit 7f32c7c Copy full SHA for 7f32c7c
File tree 2 files changed +5
-5
lines changed
res/css/_sc/feature-improvement/consistency__TextEvent
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- /* Fix upstream's style inconsistencies among mx_TextualEvent, mx_RedactedBody, and mx_DecryptionFailureBody */
17
+ /* Fix upstream's style inconsistencies among text events and mx_DecryptionFailureBody */
18
18
/* See https://github.com/SchildiChat/schildichat-desktop/issues/240 */
19
19
20
20
@import "./views/rooms/_EventTile.pcss" ;
21
21
@import "./views/messages/_DecryptionFailureBody.pcss" ;
22
22
23
23
@define-mixin consistency__TextEvent {
24
- @mixin EventTile_color ;
25
- @mixin EventTile_font ;
24
+ @mixin EventTile_line_color ;
25
+ @mixin EventTile_line_font ;
26
26
@mixin DecryptionFailureBody ;
27
27
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ limitations under the License.
16
16
17
17
/* Specify text color with color property instead of opacity.
18
18
Note this mixin is applied to GELS as well. */
19
- @define-mixin EventTile_color {
19
+ @define-mixin EventTile_line_color {
20
20
:where (.mx_EventTile_info, .mx_GenericEventListSummary) {
21
21
/* Get rid of opacity values for coloring from CSS files as it is very
22
22
confusing and makes it difficult to maintain consistency.
@@ -43,7 +43,7 @@ limitations under the License.
43
43
}
44
44
45
45
/* Specify font for consistency */
46
- @define-mixin EventTile_font {
46
+ @define-mixin EventTile_line_font {
47
47
:where (.mx_EventTile_info, .mx_GenericEventListSummary) {
48
48
--font : var (--cpd-font-body-sm-regular ); /* Replace with js when needed */
49
49
You can’t perform that action at this time.
0 commit comments