@use 'src/style/mixins' as *;
.wrapper {
display: flex;
gap: 0 28px;
overflow-x: auto;
align-items: center;
position: relative;
min-height: 230px;
> img {
height: auto;
}
.imageWrapper {
position: relative;
width: 226px;
height: 227px;
justify-content: center;
align-items: center;
display: flex;
.active {
position: absolute;
left: 0;
bottom: 25px;
}
}
.content {
line-height: 30px;
word-break: break-word;
overflow-wrap: break-word;
> * {
line-height: initial;
}
a {
margin-top: 5px;
display: inline-block;
&:hover {
opacity: 0.7;
}
}
}
@media (max-width: 540px) {
flex-direction: column;
gap: 10px;
min-height: auto;
overflow-x: hidden;
overflow: hidden;
.imageWrapper {
width: 80px;
height: 80px;
flex-shrink: 0;
position: static;
img {
width: 80px;
height: 80px;
object-fit: contain;
}
.active {
position: absolute;
left: auto;
right: 8px;
top: 8px;
bottom: auto;
}
}
.content {
font-size: 13px;
line-height: 22px;
text-align: center;
width: 100%;
max-width: 100%;
overflow: hidden;
}
}
&.selected,
&:hover {
cursor: pointer;
&::before {
content: '';
position: absolute;
pointer-events: none;
left: 0px;
right: 0px;
height: 100%;
@include tableHover;
}
}
}
.passports {
display: flex;
gap: 0 15px;
flex-wrap: wrap;
.passportName {
color: var(--primary-color);
}
.passportMain {
color: var(--green-light);
}
}
.pointer {
cursor: pointer;
}
// Security: prevent long-press selection/share on sensitive values
.sensitiveValue {
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}