Page MenuHomePhabricator

[web] Remove last border from My Account page
ClosedPublic

Authored by abosh on Jun 15 2022, 12:01 PM.
Tags
None
Referenced Files
F3353552: D4280.id13532.diff
Sat, Nov 23, 10:16 AM
F3353024: D4280.diff
Sat, Nov 23, 7:43 AM
Unknown Object (File)
Sun, Nov 3, 3:40 PM
Unknown Object (File)
Sun, Nov 3, 3:40 PM
Unknown Object (File)
Sun, Nov 3, 3:40 PM
Unknown Object (File)
Sun, Nov 3, 3:35 PM
Unknown Object (File)
Oct 10 2024, 3:20 AM
Unknown Object (File)
Sep 19 2024, 6:27 PM
Subscribers

Details

Summary

This doesn't match the Figma designs, but discussion on this Linear issue here.

The last border on the My Account page should be removed since there is no border on the top (above Logged in as …).

Before:

image.png (2×1 px, 109 KB)

After:

image.png (2×2 px, 143 KB)

Test Plan

Looks as expected on Safari/Chrome.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

abosh edited the test plan for this revision. (Show Details)

(personally think that we should have a border on the top and on the bottom to "frame" things cleanly)

This revision is now accepted and ready to land.Jun 17 2022, 11:06 AM
tomek added inline comments.
web/settings/account-settings.css
17–28

Maybe it's a better idea to not set a property for the last child, instead of setting and removing it?

This revision was automatically updated to reflect the committed changes.
abosh marked an inline comment as done.
web/settings/account-settings.css
17–28

Incorporating this change (it also looks cleaner), but can I get some clarification as to why using last-child is worse (style-wise or otherwise) than using :not(:last-child)?