Page MenuHomePhabricator

Calendar - fix inline display of status icon
ClosedPublic

Authored by btrahan on Jul 30 2014, 8:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 7:43 AM
Unknown Object (File)
Dec 5 2024, 7:58 AM
Unknown Object (File)
Dec 5 2024, 5:56 AM
Unknown Object (File)
Dec 2 2024, 5:54 AM
Unknown Object (File)
Nov 30 2024, 12:35 AM
Unknown Object (File)
Nov 18 2024, 8:55 PM
Unknown Object (File)
Nov 18 2024, 6:19 PM
Unknown Object (File)
Oct 23 2024, 6:02 AM

Details

Summary

Fixes T5663. Said task kind of stalled out and maybe @chad wanted to take a different approach, but this works? Also, I think fixing any new bugs that may emerge with more reasonable css scoping seems like a reasonable path forward.

Test Plan

inline display of status icon looked correct in differential

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Calendar - fix inline display of status icon.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.
btrahan added a subscriber: chad.

This breaks down when viewing side by side colored diffs, the padding makes the bright green/red fit the height of the overall line color.

the 'easy' fix is to add an additional rule that targets just the dot inside remarkup-code. Kind of ick, but no idea when we'd fix this rule overall.

.remarkup-code td > span (that is, add a >) miiight also work? Kind of a long shot.

btrahan edited edge metadata.

try the > version...

Fixes the issue but not sure about the red / green break happening. See screenshot in a second.

Screen_Shot_2014-07-30_at_2.22.52_PM.png (1×2 px, 390 KB)

(basically I have really crappy test data. Is this diff good enough or should I try something really complicated?)

that said... if i use firebug or what have you i can see the new css rule is being applied to the green spans. :D

This revision is now accepted and ready to land.Jul 31 2014, 3:19 AM
btrahan updated this revision to Diff 24287.

Closed by commit rPf3cc0c20189d (authored by @btrahan).