Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copy playlist modal text size, align playlist show page content #5554

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/assets/stylesheets/avalon/_playlists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
}

.playlist-title {
margin: 20px 0 10px;
display: flex;
align-items: center;

Expand All @@ -36,10 +35,15 @@
// Assuming this span is an icon
span {
font-size: 2rem;
padding: 0 1rem;
padding: 0 1rem 0 0;
}
}

.playlist-title-wrapper {
width: 100%;
margin: 20px 0 10px;
}

.playlist-action-button-row.col-sm-4 {
padding-left: 0.75rem;
padding-right:0px;
Expand Down
6 changes: 3 additions & 3 deletions app/views/playlists/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Unless required by applicable law or agreed to in writing, software distributed
<% @page_title = t('media_objects.show.title', :media_object_title => @playlist.title, :application_name => application_name) %>

<div class="playlist-view-wrapper row">
<div class="page-title-wrapper playlist-title col-sm-12">
<div class="col-sm-8">
<div class="page-title-wrapper playlist-title-wrapper row">
<div class=" playlist-title col-sm-8 pl-0">
<%= icon_only_visibility @playlist.visibility %>
<h1 class="page-title"><%= @playlist.title %></h1>
</div>
Expand All @@ -27,7 +27,7 @@ Unless required by applicable law or agreed to in writing, software distributed
</div>
</div>

<div class="col-sm-12">
<div class="col-sm-12 px-0">
<%= react_component("PlaylistRamp",
{
base_url: request.protocol+request.host_with_port,
Expand Down