mempool/frontend/src/app/shared/components/truncate/truncate.component.scss

47 lines
717 B
SCSS
Raw Normal View History

2023-01-05 11:00:08 -06:00
.truncate {
text-overflow: unset;
display: flex;
flex-direction: row;
align-items: start;
position: relative;
2023-01-05 11:00:08 -06:00
.truncate-link {
display: flex;
flex-direction: row;
align-items: baseline;
flex-shrink: 1;
overflow: hidden;
}
2023-01-05 11:00:08 -06:00
.first {
flex-grow: 0;
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
2024-03-21 14:05:44 +09:00
user-select: none;
2023-01-05 11:00:08 -06:00
}
.last-four {
flex-shrink: 0;
flex-grow: 0;
2024-03-21 14:05:44 +09:00
user-select: none;
2023-01-05 11:00:08 -06:00
}
2023-07-09 01:15:05 -04:00
&.inline {
display: inline-flex;
}
.hidden-content {
color: transparent;
position: absolute;
max-width: 300px;
overflow: hidden;
}
2023-11-15 15:07:14 +09:00
}
@media (max-width: 567px) {
.hidden-content {
2023-11-22 16:22:41 +09:00
max-width: 150px !important;
2023-11-15 15:07:14 +09:00
}
}