diff --git a/app/assets/stylesheets/steps.scss b/app/assets/stylesheets/steps.scss index 7741c0d79..f93f2a66b 100644 --- a/app/assets/stylesheets/steps.scss +++ b/app/assets/stylesheets/steps.scss @@ -11,8 +11,8 @@ @import "mixins"; :root { - --attachment-row-height: 3em; --attachment-column-width: 16em; + --attachment-row-height: 3em; } @@ -357,8 +357,8 @@ .image-container, .general-file-container { - background: $color-concrete; align-items: center; + background: $color-concrete; display: flex; height: calc(100% - 4em); justify-content: center; @@ -366,8 +366,8 @@ width: 100%; img { - max-width: 100%; max-height: 100%; + max-width: 100%; } .fas { @@ -408,7 +408,7 @@ grid-column: 1/-1; padding: .5em; - .file-name { + .file-icon { @include font-main; } diff --git a/app/models/asset.rb b/app/models/asset.rb index 47d2ae451..909b9b7c6 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -12,7 +12,7 @@ class Asset < ApplicationRecord # Lock duration set to 30 minutes LOCK_DURATION = 60 * 30 - enum view_mode: { thumbnail: 0, inline: 1, list: 2} + enum view_mode: { thumbnail: 0, inline: 1, list: 2 } # ActiveStorage configuration has_one_attached :file