Fix hound issues

This commit is contained in:
aignatov-bio 2020-10-16 11:27:23 +02:00
parent 566ef7aef7
commit 3fe3c2087f
2 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -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