mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Fix hound issues
This commit is contained in:
parent
566ef7aef7
commit
3fe3c2087f
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue