Skip to content

Conversation

@hqhhuang
Copy link
Owner

@hqhhuang hqhhuang commented Mar 18, 2022

Remove 'No Overview' text from Description component

Bug/issue #, if applicable: 89691926

Summary

With the new design, if a page has no overview, we will just not display it. Thus, there's no more need for explicitly stating that a page has no overview.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran npm test, and it succeeded
  • Updated documentation if necessary

Remove 'No Overview` from Description and fix test
replace `hasOverview` with `hasDescription`
Remove `Description` component
Move over CSS from `Description` Component
@hqhhuang hqhhuang requested a review from mportiz08 March 18, 2022 09:10
hqhhuang and others added 2 commits March 18, 2022 02:28
@mportiz08 mportiz08 merged commit 21d1787 into hqhuang/remove-right-side-bar Mar 18, 2022
&:empty { display: none; }
&:not(:empty) {
margin-bottom: $contenttable-spacing-single-side;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could have been put outside the :not(:empty), because we are applying a display:none anyway :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants