Skip to content

Commit

Permalink
Tweak buttons at top of feed
Browse files Browse the repository at this point in the history
Wasn't happy with the placement of the refresh/ play all buttons, decided to center both with a small gap
  • Loading branch information
MonkeyDo committed Feb 4, 2025
1 parent 8238ae1 commit 87e3be5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/js/src/user-feed/FriendsFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,10 @@ export default function FriendsFeedPage() {
</>
) : (
<>
<div className="mb-15" style={{ display: "flex" }}>
<div className="mb-15" style={{ display: 'flex', justifyContent: 'center', gap: '1em' }}>
<button
type="button"
className="btn btn-outline"
style={{ marginLeft: "auto" }}
onClick={() => {
fetchPreviousPage();
}}
Expand All @@ -205,7 +204,6 @@ export default function FriendsFeedPage() {
type="button"
className="btn btn-info btn-rounded play-tracks-button"
title="Play album"
style={{ marginLeft: "auto" }}
onClick={() => {
window.postMessage(
{
Expand Down

0 comments on commit 87e3be5

Please sign in to comment.