upd: implement radius setting
to keep things manageable i merged a lot of one off values into just a handful of common sizes, so some parts of the ui will look different than upstream even with the "Misskey" rounding mode
This commit is contained in:
@@ -244,7 +244,7 @@ definePageMetadata({
|
||||
position: relative;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
|
||||
> .preview {
|
||||
position: absolute;
|
||||
@@ -255,7 +255,7 @@ definePageMetadata({
|
||||
margin: auto;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-xs);
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
@@ -271,10 +271,10 @@ definePageMetadata({
|
||||
}
|
||||
|
||||
&.rounded {
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-ellipse);
|
||||
|
||||
> .preview {
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-ellipse);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user