Skip to content

Commit

Permalink
For #2835: make messages dialog scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
avernet committed Nov 15, 2024
1 parent 89b19c8 commit d20638d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@

<xbl:binding id="fb-dialog-messages" element="fb|dialog-messages">

<xbl:resources>
<xbl:style src="/xbl/fb/dialog-messages/dialog-messages.css"/>
</xbl:resources>

<xbl:handlers>
<xbl:handler event="fb-show-dialog" phase="target">
<xf:delete ref="$i/*"/>
Expand Down

0 comments on commit d20638d

Please sign in to comment.