upd: replace more hardcoded radius values

This commit is contained in:
ShittyKopper 2023-11-01 23:00:55 +03:00
parent d4d2f6f871
commit 5ac10730ae
5 changed files with 8 additions and 5 deletions

View File

@ -77,7 +77,7 @@ watch(() => props.lang, (to) => {
& :deep(.shiki) {
padding: 12px;
margin: 0;
border-radius: 6px;
border-radius: var(--radius-sm);
min-height: 130px;
pointer-events: none;
min-width: calc(100% - 24px);

View File

@ -129,7 +129,7 @@ watch(v, () => {
.focused.codeEditorRoot {
border-color: var(--accent) !important;
border-radius: 6px;
border-radius: var(--radius-sm);
}
.codeEditorScroller {

View File

@ -37,7 +37,10 @@ const text = $computed(() => {
<style lang="scss" module>
.root {
box-shadow: 0 0 0 3px var(--panel);
border-radius: 120%; // Blink100%
// sharkey(ShittyKopper): the comment mentions something about 100% radius not behaving correctly on blink.
// couldn't reproduce, assuming the 120% here was just an old workaround
border-radius: var(--radius-full); // Blink100%
&.status_online {
background: #58d4c9;

View File

@ -221,7 +221,7 @@ onMounted(async () => {
.fileQuickActionsOthersButton {
padding: .5rem;
border-radius: 99rem;
border-radius: var(--radius-ellipse);
&:hover,
&:focus-visible {

View File

@ -428,7 +428,7 @@ definePageMetadata({
cursor: pointer;
padding: 16px 16px 28px 16px;
border: solid 2px var(--divider);
border-radius: 8px;
border-radius: var(--radius-sm);
text-align: center;
font-size: 90%;
overflow: clip;