Skip to content

Commit

Permalink
Fix for the print styles, the popup style now not only works in the e…
Browse files Browse the repository at this point in the history
…mulated styles but also in the print preview and print.

This commit also contains a fix for the SVG 'named circle' that was displayed too big
  • Loading branch information
MichelGabriel committed Sep 17, 2024
1 parent db79b52 commit 490cd8a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web-ui/src/main/resources/catalog/style/gn_metadata.less
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,16 @@ ul.container-list {
padding: 5px;
}
@media print {
svg {
max-width: 75px;
margin: 15px;
}
[gn-popover-content] {
.make-md-column-offset(3);
padding: 0 @gn-spacing-lg;
display: block !important;
label, a {
label,
a {
display: block;
margin-bottom: @gn-spacing;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../../../lib/style/bootstrap/less/variables.less";
@import "gn_view.less";

// special print classes
.gn-new-page {
Expand Down Expand Up @@ -105,6 +106,26 @@ a[href]:after {
svg {
max-width: 100px;
}
[gn-popover-content] {
.make-md-column-offset(3);
padding: 0 @gn-spacing-lg;
display: block !important;
label,
a {
display: block;
margin-bottom: @gn-spacing;
}
[data-label="focusOnFrom"] {
display: none;
}
.fa {
display: none;
}
[data-ng-href] {
margin-bottom: @gn-spacing;
display: inline-block;
}
}
}
.gn-md-side-crs {
a {
Expand Down

0 comments on commit 490cd8a

Please sign in to comment.