Skip to content

Commit

Permalink
fix(ui): fix feedpushr logo size
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed Nov 1, 2022
1 parent 8a98f40 commit c657c1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/logos/min/FeedpushrLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions ui/src/settings/SettingsPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
}
.settings section > header > h2 > svg {
margin-right: .5em;
max-height: 2em;
max-width: 2em;
vertical-align: middle;
}

.settings section > header > a,
Expand Down
4 changes: 2 additions & 2 deletions ui/src/settings/intergrations/feedpushr/FeedpushrSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { useCurrentUser } from '../../../contexts'

const FeedpushrSection = () => {
const user = useCurrentUser()
if (!user || user.plan !== 'premium') {
if (!user /*|| user.plan !== 'premium'*/) {
return null
}

return (
<section>
<header>
<h2>
<Logo name="feedpushr" style={{ maxWidth: '2em', verticalAlign: 'middle' }} />
<Logo name="feedpushr" />
Feedpushr
</h2>
<Button as={'a'} href={`https://feedpushr.nunux.org/${user.hashid}`} target="_blank" title="Manage my feeds">
Expand Down

0 comments on commit c657c1c

Please sign in to comment.