Skip to content

Commit

Permalink
Tweak css
Browse files Browse the repository at this point in the history
  • Loading branch information
jcraigk committed Nov 9, 2024
1 parent 0362217 commit 2d1de50
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions app/javascript/components/EraShows.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ const EraShows = () => {
</Helmet>
<LayoutWrapper sidebarContent={sidebarContent}>
<div className="display-phone-only">
{renderViewToggleButtons()}
{renderSortButtons()}
<div className="buttons mt-2 mb-2">
{renderViewToggleButtons()}
{renderSortButtons()}
</div>
</div>
<Shows shows={sortedShows} tourHeaders={true} viewMode={viewMode} />
{yearLinks()}
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ a {
transform: translate(0, -50%);
opacity: 0.2;
font-size: 1rem;
z-index: 1; /* Behind the text */
pointer-events: none; /* Ignore mouse events */
z-index: 1;
pointer-events: none;
}

.large-album-art {
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/content.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ main {

.view-toggle {
display: flex;
gap: 0.5rem; /* Space between buttons within each group */
gap: 0.5rem;
}

.grid-view {
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/search.css.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.search-term-form {
max-width: 12rem;
margin-bottom: 1rem; /* Add margin below search term input */
margin-bottom: 1rem;
}

@media (max-width: 1023px) {
Expand Down

0 comments on commit 2d1de50

Please sign in to comment.