diff --git a/app/assets/stylesheets/alchemy/image_library.scss b/app/assets/stylesheets/alchemy/image_library.scss index 928d9eba08..10b90bd922 100644 --- a/app/assets/stylesheets/alchemy/image_library.scss +++ b/app/assets/stylesheets/alchemy/image_library.scss @@ -180,6 +180,8 @@ $image-overlay-transition-easing: ease-in; #pictures_page_list { h3 { display: flex; + align-items: center; + gap: $default-padding; padding: 4px 8px 0; margin: 0; } @@ -194,6 +196,8 @@ $image-overlay-transition-easing: ease-in; li { display: flex; + align-items: center; + gap: $default-padding; padding: 2 * $default-padding; border-radius: $default-border-radius; white-space: normal; @@ -201,14 +205,7 @@ $image-overlay-transition-easing: ease-in; } } - .icon { - padding-top: 3px; - text-align: left; - width: 7%; - } - p { - width: 93%; margin: 0; } } diff --git a/app/views/alchemy/admin/pages/unlock.js.erb b/app/views/alchemy/admin/pages/unlock.js.erb index b8059e766f..31151cdedc 100644 --- a/app/views/alchemy/admin/pages/unlock.js.erb +++ b/app/views/alchemy/admin/pages/unlock.js.erb @@ -7,7 +7,7 @@ locked_page_tab.remove() } if (locked_page_icon) { - locked_page_icon.innerHTML = '' + locked_page_icon.outerHTML = '' } Alchemy.growl('<%= flash[:notice] -%>') })() diff --git a/app/views/alchemy/admin/pictures/_infos.html.erb b/app/views/alchemy/admin/pictures/_infos.html.erb index 9e25ce973a..2fe8a51dcf 100644 --- a/app/views/alchemy/admin/pictures/_infos.html.erb +++ b/app/views/alchemy/admin/pictures/_infos.html.erb @@ -26,7 +26,7 @@ <% if page %>
  • - <%= render_icon 'file-alt' %> + <%= render_icon 'file' %>

    <%= link_to page.name, edit_admin_page_path(page) %>