Page MenuHomePhabricator

[web] Cut extraneous/unused styles from `thread-settings-privacy-tab.css`
ClosedPublic

Authored by atul on May 15 2022, 8:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 7:29 PM
Unknown Object (File)
Sat, Nov 9, 7:09 PM
Unknown Object (File)
Sat, Nov 9, 7:04 PM
Unknown Object (File)
Sat, Nov 9, 6:03 PM
Unknown Object (File)
Sat, Nov 9, 4:59 PM
Unknown Object (File)
Sat, Nov 9, 10:40 AM
Unknown Object (File)
Oct 21 2024, 8:21 PM
Unknown Object (File)
Oct 4 2024, 9:25 AM

Details

Summary

Ripping out styles that aren't going to be relevant once ThreadSettingsPrivacyTab is re-styled.


Depends on D4043

Test Plan

Before:

812d.png (758×724 px, 67 KB)

After:

32c3-1.png (784×714 px, 66 KB)

Everything continues to work as expected, doesn't really matter how it looks at this stage since it's going to be re-styled in the next diffs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.May 15 2022, 8:31 AM

Going to assume that you grepped the code base for these style names, and they weren't used anywhere. If so then LGTM.

This revision is now accepted and ready to land.May 16 2022, 6:03 AM
This revision now requires review to proceed.May 16 2022, 6:14 AM

My guess is that some of the divs might be safely removed, but they probably will have some classes assigned after the redesing.

This revision is now accepted and ready to land.May 16 2022, 9:49 AM

Going to assume that you grepped the code base for these style names, and they weren't used anywhere. If so then LGTM.

Yeah, made sure the stylesheet was only pulled into the ThreadSettingsPrivacyTab component.

In D4044#113913, @palys-swm wrote:

My guess is that some of the divs might be safely removed, but they probably will have some classes assigned after the redesign.

Yeah, the layout changes a good bit in subsequent diffs