Skip to content

Commit

Permalink
DMS-301 add css class for JOP service images and fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Jan 15, 2024
1 parent 810ad0e commit eb328aa
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -171,6 +171,13 @@
content: " ";
}

.ubo-jopservice-img {
float:none;
height: 1rem;
vertical-align: baseline;
padding-left: 5px;
}

// Large devices (desktops) and below: <= 1200px
@include media-breakpoint-down(lg) {
// add/overwrite styles for responsive level lg and lower
2 changes: 1 addition & 1 deletion ubo-common/src/main/resources/xsl/mods-display.xsl
Original file line number Diff line number Diff line change
@@ -1317,7 +1317,7 @@
<a href="{$UBO.JOP.URL}?{$parameters}" title="{i18n:translate('ubo.jop')}">
<xsl:value-of select="text()" />
<xsl:text> </xsl:text>
<img style="float:none" loading="lazy" data-src="https://services.dnb.de/fize-service/gvr/icon?{$parameters}" alt="{i18n:translate('ubo.jop')}" />
<img class="ubo-jopservice-img" loading="lazy" data-src="https://services.dnb.de/fize-service/gvr/icon?{$parameters}" alt="{i18n:translate('ubo.jop')}" />
</a>
</xsl:template>

0 comments on commit eb328aa

Please sign in to comment.