diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 15:05:36 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 15:05:36 -0400 |
commit | 95e7c215df89608a5b10bebb87968c9a713bbf3d (patch) | |
tree | b21785e6483b0286a812dda44082bc735264fb27 /app/assets/stylesheets | |
parent | 8d039903f630db0b89f2df44a94f4e5c938bd7bf (diff) | |
download | thoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.tar.gz thoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.tar.bz2 thoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.zip |
Added uploading images to blog posts
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/admin/layout.scss | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/app/assets/stylesheets/admin/layout.scss b/app/assets/stylesheets/admin/layout.scss index bf15b0d..9585414 100644 --- a/app/assets/stylesheets/admin/layout.scss +++ b/app/assets/stylesheets/admin/layout.scss | |||
@@ -82,19 +82,16 @@ body { | |||
82 | } | 82 | } |
83 | 83 | ||
84 | #entry-form { | 84 | #entry-form { |
85 | display: flex; | 85 | display: grid; |
86 | grid-template-columns: 73% 27%; | ||
86 | height: 100%; | 87 | height: 100%; |
87 | 88 | ||
88 | fieldset { | 89 | fieldset { |
89 | border: 0; | 90 | border: 0; |
90 | } | 91 | } |
91 | 92 | ||
92 | #content { | ||
93 | width: 77%; | ||
94 | } | ||
95 | |||
96 | #details { | 93 | #details { |
97 | width: 23%; | 94 | min-width: 0; |
98 | display: flex; | 95 | display: flex; |
99 | flex-direction: column; | 96 | flex-direction: column; |
100 | padding-left: 0; | 97 | padding-left: 0; |
@@ -201,6 +198,22 @@ body { | |||
201 | border-radius: 5px; | 198 | border-radius: 5px; |
202 | padding: .5em; | 199 | padding: .5em; |
203 | margin-bottom: 1em; | 200 | margin-bottom: 1em; |
201 | |||
202 | h4 { | ||
203 | margin-top: 0; | ||
204 | margin-bottom: 0.5em; | ||
205 | } | ||
206 | |||
207 | img { | ||
208 | max-width: 100%; | ||
209 | } | ||
210 | } | ||
211 | |||
212 | .image-uploads { | ||
213 | pre { | ||
214 | overflow: auto; | ||
215 | max-width: 100%; | ||
216 | } | ||
204 | } | 217 | } |
205 | 218 | ||
206 | .should-create-record-field { | 219 | .should-create-record-field { |