aboutsummaryrefslogtreecommitdiffstats
path: root/root/blog/aspect_ratios/interactive
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-11-26 11:18:31 +0000
committers-ol <s-ol@users.noreply.github.com>2019-11-26 11:18:31 +0000
commitbde1fae7c3497bbe10eb67fa2c2c6d46d5ad0478 (patch)
tree1e6ef1d87dda174f35b95b3c695399f1d72f0f43 /root/blog/aspect_ratios/interactive
parentadd cjson to Dockerfile (diff)
downloadmmm-bde1fae7c3497bbe10eb67fa2c2c6d46d5ad0478.tar.gz
mmm-bde1fae7c3497bbe10eb67fa2c2c6d46d5ad0478.zip
some fixes in aspect-ratios
Diffstat (limited to 'root/blog/aspect_ratios/interactive')
-rw-r--r--root/blog/aspect_ratios/interactive/_base: text$moonscript -> table.moon16
1 files changed, 8 insertions, 8 deletions
diff --git a/root/blog/aspect_ratios/interactive/_base: text$moonscript -> table.moon b/root/blog/aspect_ratios/interactive/_base: text$moonscript -> table.moon
index f47e03f..419eef0 100644
--- a/root/blog/aspect_ratios/interactive/_base: text$moonscript -> table.moon
+++ b/root/blog/aspect_ratios/interactive/_base: text$moonscript -> table.moon
@@ -8,10 +8,10 @@ if MODE ~= 'CLIENT'
resize: 'horizontal'
overflow: 'hidden'
- width: '576px'
- height: '324px'
- 'min-width': '324px'
- 'max-width': '742px'
+ width: '480px'
+ height: '270px'
+ 'min-width': '270px'
+ 'max-width': '100%'
margin: 'auto'
padding: '10px'
@@ -42,10 +42,10 @@ class UIDemo extends CanvasApp
resize: 'horizontal'
overflow: 'hidden'
- width: '576px'
- height: '324px'
- minWidth: '324px'
- maxWidth: '742px'
+ width: '480px'
+ height: '270px'
+ minWidth: '270px'
+ maxWidth: '100%'
margin: 'auto'
padding: '10px'