mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-23 19:47:58 +00:00
docs: image gallery viewer (#905)
* add assets, photoswipe html element to body * add single script, gallery for multiple items * update docs for image gallery * fix relative links * inject image script on mount * replace inline script * remove facebook, twitter, pinterest sharing * fix hover on share * fix start img aspect radio, reduce size * right align json script * right align go script * change script background
This commit is contained in:
@@ -316,7 +316,7 @@ a {
|
||||
border-bottom: 1px solid currentColor;
|
||||
user-select: none;
|
||||
color: var(--prime);
|
||||
transition: color .2s, border .2s, padding .2s;
|
||||
transition: color .2s,
|
||||
}
|
||||
|
||||
a:hover {
|
||||
@@ -556,3 +556,19 @@ input[type="checkbox"]::after {
|
||||
input[type="checkbox"]:checked::after {
|
||||
left: calc(100% - 9px);
|
||||
}
|
||||
|
||||
.zitadel-gallery {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.zitadel-gallery img {
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
.zitadel-gallery figure {
|
||||
flex-basis: 30%;
|
||||
object-fit: contain;
|
||||
margin: 5px 5px 5px 0;
|
||||
width: 150px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user