Tweak MkNoteHeader and MkInstanceTicker

This commit is contained in:
fly_mc 2024-10-01 02:41:12 +08:00
parent bf05dc4075
commit 494c7b8fe6
2 changed files with 4 additions and 3 deletions

View file

@ -49,6 +49,7 @@ $height: 2ex;
border-radius: 4px 0 0 4px;
overflow: clip;
color: #fff;
margin: -.5em 0 0 0;
text-shadow: /* .866 ≈ sin(60deg) */
1px 0 1px #000,
.866px .5px 1px #000,

View file

@ -84,7 +84,7 @@ const mock = inject<boolean>('mock', false);
.name {
flex-shrink: 1;
display: block;
margin: 0 .5em 0 0;
margin: .5em .5em 0 0;
padding: 0;
overflow: hidden;
font-size: 1em;
@ -109,10 +109,10 @@ const mock = inject<boolean>('mock', false);
.username {
flex-shrink: 9999999;
margin: 0 .5em 0 0;
margin: -.2em .5em .5em 0;
overflow: hidden;
text-overflow: ellipsis;
font-size: 90%;
font-size: 92%;
opacity: 0.8;
&::-webkit-scrollbar {