diff --git a/app/assets/stylesheets/desktop/desktop-component.scss b/app/assets/stylesheets/desktop/desktop-component.scss index e41c424c8..9065061a1 100644 --- a/app/assets/stylesheets/desktop/desktop-component.scss +++ b/app/assets/stylesheets/desktop/desktop-component.scss @@ -21,10 +21,14 @@ } .form_fix { textarea { - margin-bottom: 12px; + margin-bottom: 12px; } - input { + input[type="text"] { margin-left: 0; + margin-top: 0; + } + input[type="text"] + input { + margin-top: 12px; } } // fixed width column with 12px gutter diff --git a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb index 3c4b5fcb0..8ea06188a 100644 --- a/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb +++ b/vendor/built_in_modules/personal_book/app/helpers/panel/personal_book/desktop/personal_books_helper.rb @@ -4,10 +4,13 @@ module Panel::PersonalBook::Desktop::PersonalBooksHelper "item" => "true", "data-id" => publication.id.to_s, :class => "list_t_item #{view.blank? ? '' : "#{view}_view" } #{publication.is_hidden? ? "private" : "public" }" do - marker(publication.id) + \ - content(publication, view) + \ - edit_or_delete(publication) + content_tag :div, + :class => "inner" do + marker(publication.id) + \ + content(publication, view) + \ + edit_or_delete(publication) end + end end def marker id diff --git a/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/_form.html.erb b/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/_form.html.erb index 8ff320d8f..7ce24beb9 100644 --- a/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/_form.html.erb +++ b/vendor/built_in_modules/personal_book/app/views/panel/personal_book/desktop/personal_books/_form.html.erb @@ -21,14 +21,14 @@