Optimize DMCA page on mobile

This commit is contained in:
Raphael Wickihalder 2022-02-18 09:03:35 +01:00
parent d95593486f
commit e23e0f526d
2 changed files with 21 additions and 1 deletions

View file

@ -208,7 +208,7 @@ function ShowPage(props: Props) {
if (isClaimBlackListed && !claimIsMine) {
innerContent = (
<Page>
<Page className="custom-wrapper">
<Card
title={uri}
subtitle={__(

View file

@ -1025,6 +1025,26 @@ img {
}
}
.custom-wrapper {
@media (max-width: $breakpoint-small) {
.card {
padding: var(--spacing-xxxs);
.card__title-section {
width: 100%;
div:first-of-type {
width: 100%;
.card__title {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
}
}
// Temporary master classes
.date_time {
font-size: var(--font-xsmall);