Skip to content

Commit

Permalink
fix margin in readonly mode (#8938)
Browse files Browse the repository at this point in the history
* fix margin in readonly mode

when readonly mode is enabled with systemread or extended read
permissions, some fields are wrapped in a `pre` tag. By default `pre`
has a bigger margin-bottom . But in readonly mode we already have a
margin in a wrapping div which leads to unnecessary large space after
those fields.
So we should remove the margin-bottom for this

* fix style
  • Loading branch information
mawinter69 authored Feb 8, 2024
1 parent b8236f8 commit 90c3a39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions war/src/main/scss/base/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ pre {
}
}

pre.jenkins-readonly {
margin-bottom: 0 !important;
}

pre.console {
overflow: auto;
}
Expand Down

0 comments on commit 90c3a39

Please sign in to comment.