Skip to content

Commit

Permalink
flexbox for footer, divide into github, resources
Browse files Browse the repository at this point in the history
  • Loading branch information
architec committed Nov 19, 2021
1 parent 1dbc8c1 commit ec9033e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/Popup/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,16 @@ class Popup extends Component {
{itemsList}
</List>
<div class="footer" >
<div>
<IconButton
edge="end"
size="small"
aria-label="delete"
onClick={(e) => { chrome.tabs.update({ url: 'https://github.com/arch-org/mistake' }); e.preventDefault(); }}
>
<GitHubIcon style={{ fontSize: 'xx-small' }} />
</IconButton>
</IconButton></div>
<div>
<IconButton
edge="end"
size="small"
Expand All @@ -177,7 +179,7 @@ class Popup extends Component {
onClick={(e) => { chrome.tabs.update({ url: 'https://leetcode.com/discuss/general-discussion/460599/blind-75-leetcode-questions' }); e.preventDefault(); }}
>
<AccountTreeIcon style={{ fontSize: 'xx-small' }} />
</IconButton>
</IconButton></div>
</div>
</header>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/Popup/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ code {
text-align: center;
font-size: xx-small;
position: absolute;
display: flex;
justify-content: space-around;
}

0 comments on commit ec9033e

Please sign in to comment.