diff --git a/bs-config.cjs b/bs-config.cjs index df286aea..de43b2dd 100644 --- a/bs-config.cjs +++ b/bs-config.cjs @@ -7,4 +7,4 @@ module.exports = { server: ['docs', 'lib'], open: 'local', browser: 'default' -}; \ No newline at end of file +}; diff --git a/docs/demo1/index.html b/docs/demo1/index.html new file mode 100644 index 00000000..0d05791c --- /dev/null +++ b/docs/demo1/index.html @@ -0,0 +1,77 @@ + + + + + + + + UI Playground + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + diff --git a/docs/demo1/patrick.png b/docs/demo1/patrick.png new file mode 100644 index 00000000..a50d365b Binary files /dev/null and b/docs/demo1/patrick.png differ diff --git a/docs/demo2/index.html b/docs/demo2/index.html new file mode 100644 index 00000000..d073c862 --- /dev/null +++ b/docs/demo2/index.html @@ -0,0 +1,72 @@ + + + + + + + + UI Playground + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + diff --git a/docs/demo3/index.html b/docs/demo3/index.html new file mode 100644 index 00000000..8e10fb88 --- /dev/null +++ b/docs/demo3/index.html @@ -0,0 +1,98 @@ + + + + + + + + UI Playground + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+ + + + + + diff --git a/docs/demo4/index.html b/docs/demo4/index.html new file mode 100644 index 00000000..8d45eb9b --- /dev/null +++ b/docs/demo4/index.html @@ -0,0 +1,109 @@ + + + + + + + + UI Playground + + + + + + + + + +
+
+ + + + + + + + + + +
+ + + + + + diff --git a/docs/index.html b/docs/index.html index 9a19c7f1..4d548a20 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,193 +1,23 @@ - - + + - - - - UI Playground - - - - - - - + UIP Playground demo -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - + diff --git a/src/preview/preview.less b/src/preview/preview.less index 5eabb2e1..b23836bd 100644 --- a/src/preview/preview.less +++ b/src/preview/preview.less @@ -14,4 +14,12 @@ uip-preview { overflow: auto; resize: both; } + + &.centered-content { + .uip-preview-inner { + display: flex; + justify-content: center; + align-items: center; + } + } } diff --git a/src/settings/setting/bool-setting/bool-setting.less b/src/settings/setting/bool-setting/bool-setting.less index 3adfedf3..80384aa9 100644 --- a/src/settings/setting/bool-setting/bool-setting.less +++ b/src/settings/setting/bool-setting/bool-setting.less @@ -5,7 +5,7 @@ uip-bool-setting { input { margin-left: 3px; - width: 100%; + max-width: 100%; } }