mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
remove duplicate styles
This commit is contained in:
parent
6d47c9d555
commit
772272a476
@ -54,15 +54,11 @@ function getInstanceIcon(instance): string {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.hpaizdrt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 1.1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 1.1em;
|
||||
justify-self: flex-end;
|
||||
padding: 0.2em 0.4em;
|
||||
padding: 0.2em 0.4em;
|
||||
border-radius: 100px;
|
||||
font-size: 0.8em;
|
||||
text-shadow: 0 2px 2px var(--shadow);
|
||||
@ -71,10 +67,6 @@ function getInstanceIcon(instance): string {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
}
|
||||
.header > .body & {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
> .icon {
|
||||
height: 100%;
|
||||
@ -82,27 +74,19 @@ function getInstanceIcon(instance): string {
|
||||
}
|
||||
|
||||
> .name {
|
||||
display: none;
|
||||
display: none;
|
||||
margin-left: 4px;
|
||||
font-size: 0.85em;
|
||||
font-size: 0.85em;
|
||||
vertical-align: top;
|
||||
font-weight: bold;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-shadow: -1px -1px 0 var(--bg), 1px -1px 0 var(--bg),
|
||||
-1px 1px 0 var(--bg), 1px 1px 0 var(--bg);
|
||||
.article > .main &,
|
||||
.header > .body & {
|
||||
display: unset;
|
||||
}
|
||||
.article > .main &,
|
||||
.header > .body & {
|
||||
display: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user