diff options
| -rw-r--r-- | site/static/admin/config.yml | 1 | ||||
| -rw-r--r-- | src/css/imports/_cms.css | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/site/static/admin/config.yml b/site/static/admin/config.yml index d1c0aa5..fb11c32 100644 --- a/site/static/admin/config.yml +++ b/site/static/admin/config.yml @@ -4,7 +4,6 @@ backend: branch: master # Branch to update (master by default) media_folder: "/site/static/img" # Folder where user uploaded files should go -public_folder: "dist" # CMS now knows 'source' is the public folder and will strip this from the path collections: # A list of collections the CMS should be able to edit - name: "post" # Used in routes, ie.: /admin/collections/:slug/edit diff --git a/src/css/imports/_cms.css b/src/css/imports/_cms.css index a259cd2..97546df 100644 --- a/src/css/imports/_cms.css +++ b/src/css/imports/_cms.css @@ -27,6 +27,15 @@ font-size: .875rem; } + /* Images */ + & img { + display: block; + margin-bottom: var(--spacing-medium); + margin-left: auto; + margin-right: auto; + max-width: 100%; + } + /* Links */ & a { color: var(--primary); |
