修改样式
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
.file-upload-wrapper {
|
||||
.ant-upload-list {
|
||||
margin-top: 8px;
|
||||
// margin-top: 8px;
|
||||
}
|
||||
|
||||
.ant-upload-list-item-name {
|
||||
@ -10,7 +10,7 @@
|
||||
}
|
||||
|
||||
.ant-upload-select {
|
||||
margin-bottom: 8px;
|
||||
// margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.file-upload-tip {
|
||||
|
@ -203,7 +203,7 @@ const FileUpload: React.FC<FileUploadProps> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<Button icon={<UploadOutlined />} disabled={disabled}>
|
||||
<Button type="link" icon={<UploadOutlined />} disabled={disabled}>
|
||||
{buttonText || defaultButtonText}
|
||||
</Button>
|
||||
);
|
||||
|
@ -60,9 +60,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 覆盖antd样式 */
|
||||
:global {
|
||||
.ant-radio-button-wrapper {
|
||||
/* 覆盖antd样式 - 仅在announceContainer内生效 */
|
||||
.announceContainer {
|
||||
:global(.ant-radio-button-wrapper) {
|
||||
margin-right: 5px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 0;
|
||||
@ -73,15 +73,15 @@
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.ant-radio-button-wrapper:first-child {
|
||||
:global(.ant-radio-button-wrapper:first-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ant-radio-button-wrapper:last-child {
|
||||
:global(.ant-radio-button-wrapper:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ant-radio-button-wrapper-checked {
|
||||
:global(.ant-radio-button-wrapper-checked) {
|
||||
background-color: rgb(0, 79, 142);
|
||||
border-color: rgb(0, 79, 142);
|
||||
color: #fff;
|
||||
@ -92,7 +92,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ant-btn-primary {
|
||||
:global(.ant-btn-primary) {
|
||||
background-color: rgb(0, 79, 142);
|
||||
border-color: rgb(0, 79, 142);
|
||||
border-radius: 0;
|
||||
@ -102,24 +102,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ant-select-selector {
|
||||
:global(.ant-select-selector) {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.ant-input {
|
||||
:global(.ant-input) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ant-input-affix-wrapper {
|
||||
:global(.ant-input-affix-wrapper) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ant-list-pagination {
|
||||
:global(.ant-list-pagination) {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ant-pagination-item {
|
||||
:global(.ant-pagination-item) {
|
||||
border-radius: 0;
|
||||
|
||||
&-active {
|
||||
@ -131,17 +131,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ant-pagination-item-link {
|
||||
:global(.ant-pagination-item-link) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ant-pagination-options {
|
||||
.ant-select-selector {
|
||||
:global(.ant-pagination-options) {
|
||||
:global(.ant-select-selector) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-tag {
|
||||
:global(.ant-tag) {
|
||||
margin-right: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ const AnnouncePage: React.FC = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.announcePage}>
|
||||
<div className={styles.announceContainer}>
|
||||
<div className={styles.searchSection}>
|
||||
{/* 公告搜索 */}
|
||||
<div className={styles.searchRow}>
|
||||
|
Reference in New Issue
Block a user