Skip to content

Commit

Permalink
Fix #5268: remove :not(), not supported by Flying Saucer
Browse files Browse the repository at this point in the history
I am not sure why we needed it: we had a comment saying "Exclude
buttons, as we don't want them to take the whole width of the cell”,
but a button inside a cell doesn’t take that whole width even without
the :not(), and this also the case with the css-grid grid markup, so I
imagine that something else must have changed making this unnecessary.
  • Loading branch information
avernet committed Apr 25, 2022
1 parent 989f4a5 commit 238be0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions form-runner/jvm/src/main/assets/xbl/orbeon/grid/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@
// Instead use a margin on the control inside the cell (see below)
padding: 0;

// Exclude buttons, as we don't want them to take the whole width of the cell
&> .xforms-control:not(.xforms-trigger-appearance-full),
&> .xforms-control,
&> .xbl-component,
&> .xforms-group {
margin: @frGridCellPadding @frGridCellPadding;
Expand Down

0 comments on commit 238be0d

Please sign in to comment.