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
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sat, Nov 23, 1:05 PM
Unknown Object (File)
Sat, Nov 23, 10:16 AM
Unknown Object (File)
Sat, Nov 23, 7:43 AM
Unknown Object (File)
Sun, Nov 3, 3:40 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #13532)

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 ↗(On Diff #13532)

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)?