summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/constants.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-03 20:02:22 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-03 20:02:22 +0100
commit324136293c322eed172d3fcd9dc1471ac72cc1fd (patch)
tree56b0c4b537ce97d8c25f9f1aacc7aee3bb0d4456 /animism-align/frontend/app/constants.js
parent758cf2b1ed5bfab9a66f7551157073cfbc8ac4bc (diff)
inline image styles
Diffstat (limited to 'animism-align/frontend/app/constants.js')
-rw-r--r--animism-align/frontend/app/constants.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js
index db7034c..b4fb9c5 100644
--- a/animism-align/frontend/app/constants.js
+++ b/animism-align/frontend/app/constants.js
@@ -101,10 +101,16 @@ export const CURTAIN_COLOR_LOOKUP = CURTAIN_COLORS.reduce((a,b) => {
}, {})
export const IMAGE_BACKGROUND_SIZE_OPTIONS = [
- { label: 'cover', name: 'cover' },
- { label: 'contain', name: 'contain' },
- { label: '90% width', name: '90% auto' },
- { label: '90% height', name: 'auto 90%' },
+ { label: 'Cover', name: 'cover' },
+ { label: 'Contain', name: 'contain' },
+ { label: '90% Width', name: '90% auto' },
+ { label: '90% Height', name: 'auto 90%' },
+]
+
+export const IMAGE_INLINE_SIZE_OPTIONS = [
+ { label: 'Fullscreen', name: 'fullscreen' },
+ { label: 'Wide', name: 'wide' },
+ { label: 'Column width', name: 'column-width' },
]
export const DISPLAY_SIZE = 2000