Skip to content

Commit 7b73182

Browse files
authored
Change --border-radius-circle to --border-radius-full (#30936) (#31078)
1 parent 1171b24 commit 7b73182

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
'xl': '12px',
6767
'2xl': '16px',
6868
'3xl': '24px',
69-
'full': 'var(--border-radius-circle)', // 50%
69+
'full': 'var(--border-radius-full)',
7070
},
7171
fontFamily: {
7272
sans: 'var(--fonts-regular)',

web_src/css/base.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/* other variables */
1919
--border-radius: 4px;
2020
--border-radius-medium: 6px;
21-
--border-radius-circle: 50%;
21+
--border-radius-full: 99999px; /* TODO: use calc(infinity * 1px) */
2222
--opacity-disabled: 0.55;
2323
--height-loading: 16rem;
2424
--min-height-textarea: 132px; /* padding + 6 lines + border = calc(1.57142em + 6lh + 2px), but lh is not fully supported */
@@ -1170,7 +1170,7 @@ overflow-menu .ui.label {
11701170

11711171
.color-icon {
11721172
display: inline-block;
1173-
border-radius: var(--border-radius-circle);
1173+
border-radius: var(--border-radius-full);
11741174
height: 14px;
11751175
width: 14px;
11761176
}

web_src/css/modules/animations.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
border-width: 4px;
3232
border-style: solid;
3333
border-color: var(--color-secondary) var(--color-secondary) var(--color-secondary-dark-8) var(--color-secondary-dark-8);
34-
border-radius: var(--border-radius-circle);
34+
border-radius: var(--border-radius-full);
3535
}
3636

3737
.is-loading.loading-icon-2px::after {

web_src/css/repo.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ td .commit-summary {
790790
width: 34px;
791791
height: 34px;
792792
background-color: var(--color-timeline);
793-
border-radius: var(--border-radius-circle);
793+
border-radius: var(--border-radius-full);
794794
display: flex;
795795
float: left;
796796
margin-left: -33px;

0 commit comments

Comments
 (0)