diff --git a/front/src/components/ui/Modal.vue b/front/src/components/ui/Modal.vue index 5790826ca..8d08495fa 100644 --- a/front/src/components/ui/Modal.vue +++ b/front/src/components/ui/Modal.vue @@ -82,7 +82,7 @@ onKeyboardShortcut('escape', () => isOpen.value = false) - + {{ cancel }} diff --git a/front/src/components/ui/modal.scss b/front/src/components/ui/modal.scss index ccf40f8c9..4bf9bb193 100644 --- a/front/src/components/ui/modal.scss +++ b/front/src/components/ui/modal.scss @@ -66,7 +66,7 @@ } .modal-actions { - padding: 0.75rem 2rem 1rem; + padding: 0 2rem 1rem 2rem; display: flex; justify-content: space-between; align-items: flex-start; diff --git a/front/ui-docs/components/ui/modal.md b/front/ui-docs/components/ui/modal.md index 2e73cdaa8..1914f7136 100644 --- a/front/ui-docs/components/ui/modal.md +++ b/front/ui-docs/components/ui/modal.md @@ -334,42 +334,4 @@ primary ### Designing for small screens -On slim phones, the content may only be 260px wide (Galaxy S5). Make sure the content wraps accordingly. - -### Long, scrolling content - -Consider using an indicator such as a line or a shadow to convey that there is content below the fold. - -```vue-html - - Open modal - - - Nested modal content - - {{ index }} - - Lorem ipsum dolor sit amet. - - - - - - -``` - - - Open modal - - - Nested modal content - - {{ index }} - - Lorem ipsum dolor sit amet. - - - - - - +On slim phones, with the default 32px paddings, the content may only be 260px wide (Galaxy S5). Make sure the content wraps accordingly.
- Lorem ipsum dolor sit amet. -