remove duplicate styles

This commit is contained in:
ThatOneCalculator 2023-04-16 17:51:34 -07:00
parent dfd20a3a22
commit 57a4360165
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -54,15 +54,11 @@ function getInstanceIcon(instance): string {
<style lang="scss" scoped> <style lang="scss" scoped>
.hpaizdrt { .hpaizdrt {
display: flex;
align-items: center;
height: 1.1em;
display: flex; display: flex;
align-items: center; align-items: center;
height: 1.1em; height: 1.1em;
justify-self: flex-end; justify-self: flex-end;
padding: 0.2em 0.4em; padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
border-radius: 100px; border-radius: 100px;
font-size: 0.8em; font-size: 0.8em;
text-shadow: 0 2px 2px var(--shadow); text-shadow: 0 2px 2px var(--shadow);
@ -71,10 +67,6 @@ function getInstanceIcon(instance): string {
width: max-content; width: max-content;
max-width: 100%; max-width: 100%;
} }
.header > .body & {
width: max-content;
max-width: 100%;
}
> .icon { > .icon {
height: 100%; height: 100%;
@ -82,27 +74,19 @@ function getInstanceIcon(instance): string {
} }
> .name { > .name {
display: none;
display: none; display: none;
margin-left: 4px; margin-left: 4px;
font-size: 0.85em; font-size: 0.85em;
font-size: 0.85em;
vertical-align: top; vertical-align: top;
font-weight: bold; font-weight: bold;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
text-shadow: -1px -1px 0 var(--bg), 1px -1px 0 var(--bg), text-shadow: -1px -1px 0 var(--bg), 1px -1px 0 var(--bg),
-1px 1px 0 var(--bg), 1px 1px 0 var(--bg); -1px 1px 0 var(--bg), 1px 1px 0 var(--bg);
.article > .main &, .article > .main &,
.header > .body & { .header > .body & {
display: unset; display: unset;
} }
.article > .main &,
.header > .body & {
display: unset;
}
} }
} }
</style> </style>