diff --git a/app/soapbox/features/ui/components/features_panel.js b/app/soapbox/features/ui/components/features_panel.js index 2ab0f4db7..5776e0169 100644 --- a/app/soapbox/features/ui/components/features_panel.js +++ b/app/soapbox/features/ui/components/features_panel.js @@ -27,40 +27,31 @@ class FeaturesPanel extends React.PureComponent {
-
- - - {intl.formatMessage(messages.edit_profile)} - -
- -
- - - {intl.formatMessage(messages.bookmarks)} - -
- -
- - - {intl.formatMessage(messages.lists)} - -
- -
- - - {intl.formatMessage(messages.security)} - -
- -
- - - {intl.formatMessage(messages.preferences)} - -
+ + + {intl.formatMessage(messages.edit_profile)} + + + + + + {intl.formatMessage(messages.bookmarks)} + + + + + {intl.formatMessage(messages.lists)} + + + + + {intl.formatMessage(messages.security)} + + + + + {intl.formatMessage(messages.preferences)} +
diff --git a/app/soapbox/features/ui/components/promo_panel.js b/app/soapbox/features/ui/components/promo_panel.js index 41227dadc..08311346c 100644 --- a/app/soapbox/features/ui/components/promo_panel.js +++ b/app/soapbox/features/ui/components/promo_panel.js @@ -23,12 +23,10 @@ class PromoPanel extends React.PureComponent {
{promoItems.map((item, i) => - (
- - - {item.get('text')} - -
), + ( + + {item.get('text')} + ), )}
diff --git a/app/styles/components/promo-panel.scss b/app/styles/components/promo-panel.scss index fc84077e7..e2030cee6 100644 --- a/app/styles/components/promo-panel.scss +++ b/app/styles/components/promo-panel.scss @@ -9,39 +9,22 @@ display: block; height: 42px; line-height: 42px; + color: var(--primary-text-color); border-bottom: 1px solid var(--brand-color--med); background: var(--foreground-color); - - &--highlighted { - background-color: #30ce7d; - border-radius: 10px; - font-weight: 600; - margin-bottom: 10px; - } - - &--top-rounded { - border-top-right-radius: 10px; - border-top-left-radius: 10px; - } + text-decoration: none; + font-size: 15px; + padding: 0 20px; &:last-of-type { border-bottom: 0; } - &__btn { - display: block; - text-align: left; - color: var(--primary-text-color); - text-decoration: none; - font-size: 15px; - padding: 0 20px; - - &:hover { - color: var(--primary-text-color--faint); + &:hover { + color: var(--primary-text-color--faint); - span { - text-decoration: underline; - } + span { + text-decoration: underline; } }