Skip to content

Commit

Permalink
Merge pull request #1234 from scireum/feature/jvo/SAML-+-OX-10058-Tab…
Browse files Browse the repository at this point in the history
…le-Hover

SAML + Table Hover Color
  • Loading branch information
jakobvogel authored Jun 20, 2023
2 parents 789facb + 015ab14 commit 581e845
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/main/java/sirius/web/security/SAMLHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public KeySelectorResult select(KeyInfo keyInfo,
}

for (XMLStructure xmlStructure : keyInfo.getContent()) {
if (xmlStructure instanceof X509Data x509Data) {
if (xmlStructure instanceof X509Data x509Data && !x509Data.getContent().isEmpty()) {
X509Certificate x509Certificate = (X509Certificate) x509Data.getContent().get(0);
return new X509CertificateResult(x509Certificate);
}
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/default/assets/tycho/styles/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
.table-sm {
font-size: .8rem;
}

.table-hover tbody tr:hover {
background-color: $sirius-gray-lighter;
}
Loading

0 comments on commit 581e845

Please sign in to comment.