diff --git a/form-builder/jvm/src/main/assets/xbl/fb/dialog-messages/dialog-messages.less b/form-builder/jvm/src/main/assets/xbl/fb/dialog-messages/dialog-messages.less new file mode 100644 index 0000000000..79b3fc88c5 --- /dev/null +++ b/form-builder/jvm/src/main/assets/xbl/fb/dialog-messages/dialog-messages.less @@ -0,0 +1,28 @@ +// Copyright (C) 2024 Orbeon, Inc. +// +// This program is free software; you can redistribute it and/or modify it under the terms of the +// GNU Lesser General Public License as published by the Free Software Foundation; either version +// 2.1 of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// The full text of the license is available at http://www.gnu.org/copyleft/lesser.html + +.orbeon { + + .fb-dialog-messages { + + // Make the content of each tab scrollable + .fb-dialog-body { + min-height: 0; + display: flex; + flex-direction: column; + + & > :first-child { + overflow-y: auto; + } + } + } +} \ No newline at end of file diff --git a/form-builder/jvm/src/main/resources/xbl/fb/dialog-messages/dialog-messages.xbl b/form-builder/jvm/src/main/resources/xbl/fb/dialog-messages/dialog-messages.xbl index 9162dc8025..1fca7fe37f 100644 --- a/form-builder/jvm/src/main/resources/xbl/fb/dialog-messages/dialog-messages.xbl +++ b/form-builder/jvm/src/main/resources/xbl/fb/dialog-messages/dialog-messages.xbl @@ -26,6 +26,10 @@ + + + +