This commit is contained in:
Rave | 図書館猫 2022-04-04 17:43:10 +02:00 committed by GitHub
parent 1e6f64f235
commit 4cf7bf8d06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 11 deletions

View file

@ -214,13 +214,31 @@
} }
.claim-preview { .claim-preview {
.claim-preview__text {
overflow: hidden;
}
.claim-preview-metadata { .claim-preview-metadata {
.media__subtitle { .claim-tile__info {
.button { .media__subtitle {
display: inline; width: calc(100% - 2.1rem);
} .button {
span:not(.channel-name) { display: inline;
font-size: var(--font-xsmall); .button__content {
width: 100%;
.channel-name {
width: 100%;
p {
width: 99%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
span:not(.channel-name) {
font-size: var(--font-xsmall);
}
} }
} }
} }

View file

@ -634,7 +634,7 @@ body {
.claim-preview__wrapper { .claim-preview__wrapper {
a { a {
.button__content { .button__content {
align-items: unset; // align-items: unset;
} }
} }
} }
@ -954,7 +954,7 @@ body {
> :first-child { > :first-child {
position: fixed; position: fixed;
background-color: var(--color-background); // background-color: var(--color-background);
width: calc(40% - var(--spacing-l)); width: calc(40% - var(--spacing-l));
margin-top: var(--spacing-xl); margin-top: var(--spacing-xl);
} }

View file

@ -139,11 +139,12 @@
text-align: center; text-align: center;
font-size: var(--font-large); font-size: var(--font-large);
font-weight: var(--font-weight-base); font-weight: var(--font-weight-base);
background-color: var(--color-background); background-color: var(--color-header-background);
position: absolute; position: absolute;
height: var(--spacing-xl); height: var(--spacing-l);
top: calc(var(--spacing-xl) / 2 + 10px); top: calc(var(--spacing-xl) / 2 + 10px);
padding: 0 var(--spacing-l); padding: 0 var(--spacing-s) 0 var(--spacing-s);
border-radius: var(--border-radius);
} }
} }

View file

@ -1208,6 +1208,15 @@ img {
} }
.icon--ExternalLink { .icon--ExternalLink {
margin-top: -5px; margin-top: -5px;
margin-left: 2px;
margin-left: var(--spacing-xxs) !important;
}
.markdown-preview {
.icon--ExternalLink {
flex-shrink: 0;
margin-bottom: -1px !important;
// margin-left:2px !important;
}
} }
.hide-ribbon { .hide-ribbon {
.claim-tile__repost-author { .claim-tile__repost-author {