fix: adjust border raduis
This commit is contained in:
@@ -30,7 +30,7 @@ const useStyles = createStyles(({ token, css }) => {
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
text-align: left;
|
||||
border-radius: ${token.borderRadius}px;
|
||||
border-radius: ${token.borderRadiusLG}px;
|
||||
margin: 0;
|
||||
border: 1px solid transparent;
|
||||
.ant-typography {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
border-radius: var(--border-radius-small);
|
||||
border-radius: var(--border-radius-lg);
|
||||
background-color: var(--ant-color-bg-container);
|
||||
box-shadow: none;
|
||||
padding: 10px 16px;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { createFromIconfontCN } from '@ant-design/icons';
|
||||
// import './iconfont/iconfont.js';
|
||||
|
||||
const IconFont = createFromIconfontCN({
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_110n9b7vcjv.js'
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_jctdntmi5mf.js'
|
||||
});
|
||||
|
||||
export default IconFont;
|
||||
|
||||
@@ -25,7 +25,7 @@ const Container = styled.div`
|
||||
padding: 14px;
|
||||
padding-top: 34px;
|
||||
border: 1px solid var(--ant-color-border);
|
||||
border-radius: var(--border-radius-base);
|
||||
border-radius: var(--ant-border-radius-lg);
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
@@ -71,7 +71,13 @@ const Wrapper: React.FC<WrapperProps> = ({
|
||||
{!disabled && (
|
||||
<ButtonWrapper>
|
||||
{button || (
|
||||
<Button variant="filled" color="default" block onClick={onAdd}>
|
||||
<Button
|
||||
variant="filled"
|
||||
color="default"
|
||||
block
|
||||
onClick={onAdd}
|
||||
style={{ borderRadius: 'var(--border-radius-base)' }}
|
||||
>
|
||||
<PlusOutlined className="font-size-14" />
|
||||
{btnText ||
|
||||
intl.formatMessage({
|
||||
|
||||
@@ -41,6 +41,7 @@ const RenderProgress = memo(
|
||||
return (
|
||||
<span
|
||||
style={{
|
||||
fontSize: 12,
|
||||
color: 'var(--color-progress-text)'
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -73,7 +73,7 @@ const SealPassword: React.FC<InputProps & SealFormItemProps & PasswordProps> = (
|
||||
>
|
||||
<Input.Password
|
||||
{...rest}
|
||||
autoComplete={rest.autoComplete || 'off'}
|
||||
autoComplete={rest.autoComplete || 'new-password'}
|
||||
ref={inputRef}
|
||||
className="seal-input-password"
|
||||
onFocus={handleOnFocus}
|
||||
|
||||
@@ -34,7 +34,7 @@ const WrapperBox = styled.div`
|
||||
border-width: var(--ant-line-width);
|
||||
border-style: var(--ant-line-type);
|
||||
border-color: var(--ant-color-border);
|
||||
border-radius: var(--border-radius-base);
|
||||
border-radius: var(--border-radius-lg);
|
||||
background-color: var(--ant-color-bg-container);
|
||||
&.borderless {
|
||||
border: none;
|
||||
|
||||
@@ -14,6 +14,7 @@ const CellWrapper = styled.div`
|
||||
word-break: break-word;
|
||||
min-width: 20px;
|
||||
overflow: hidden;
|
||||
color: var(--ant-color-text-secondary);
|
||||
|
||||
&.left {
|
||||
justify-content: flex-start;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
justify-content: flex-start;
|
||||
height: 50px;
|
||||
padding-inline: var(--ant-table-cell-padding-inline);
|
||||
color: var(--color-text-table-header);
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
@@ -23,7 +24,7 @@
|
||||
}
|
||||
|
||||
&-cell {
|
||||
font-weight: var(--font-weight-medium);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
&-left {
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
min-width: 76px;
|
||||
width: max-content;
|
||||
height: 24px;
|
||||
line-height: 22px;
|
||||
font-size: var(--font-size-small);
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ const CardWrapper = styled.div.attrs({
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
border: 1px solid var(--ant-color-border);
|
||||
border-radius: var(--border-radius-base);
|
||||
border-radius: var(--ant-border-radius-lg);
|
||||
cursor: default;
|
||||
width: 100%;
|
||||
&.clickable:hover:not(.disabled) {
|
||||
|
||||
Reference in New Issue
Block a user