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"; @import "mixins";
:root { :root {
--attachment-row-height: 3em;
--attachment-column-width: 16em; --attachment-column-width: 16em;
--attachment-row-height: 3em;
} }
@ -357,8 +357,8 @@
.image-container, .image-container,
.general-file-container { .general-file-container {
background: $color-concrete;
align-items: center; align-items: center;
background: $color-concrete;
display: flex; display: flex;
height: calc(100% - 4em); height: calc(100% - 4em);
justify-content: center; justify-content: center;
@ -366,8 +366,8 @@
width: 100%; width: 100%;
img { img {
max-width: 100%;
max-height: 100%; max-height: 100%;
max-width: 100%;
} }
.fas { .fas {
@ -408,7 +408,7 @@
grid-column: 1/-1; grid-column: 1/-1;
padding: .5em; padding: .5em;
.file-name { .file-icon {
@include font-main; @include font-main;
} }

View file

@ -12,7 +12,7 @@ class Asset < ApplicationRecord
# Lock duration set to 30 minutes # Lock duration set to 30 minutes
LOCK_DURATION = 60 * 30 LOCK_DURATION = 60 * 30
enum view_mode: { thumbnail: 0, inline: 1, list: 2} enum view_mode: { thumbnail: 0, inline: 1, list: 2 }
# ActiveStorage configuration # ActiveStorage configuration
has_one_attached :file has_one_attached :file