Merge branch 'feat/ui-v0.4' into 'test'

fix: tag selector component style adjustment

See merge request opensource/answer!260
This commit is contained in:
Li Shuailing 2022-11-18 10:53:58 +00:00
commit 68a7de29fe
3 changed files with 4 additions and 9 deletions

View File

@ -229,12 +229,7 @@ const TagSelector: FC<IProps> = ({
{showRequiredTagText &&
tags &&
tags.filter((v) => v.recommend)?.length > 0 && (
<Dropdown.Item
disabled
style={{ fontWeight: 500 }}
className="text-secondary">
{t('tag_required_text')}
</Dropdown.Item>
<h6 className="dropdown-header">{t('tag_required_text')}</h6>
)}
{tags?.map((item, index) => {

View File

@ -66,7 +66,7 @@ a {
display: inline-block;
font-size: 14px;
background: rgba($blue-100, 0.5);
padding: 1px 7px;
padding: 0px 7px 1px;
color: $blue-700;
border: 1px solid transparent;
&:hover {

View File

@ -43,7 +43,7 @@ const Legal: FC = () => {
recommend_tags: {
'ui:widget': 'textarea',
'ui:options': {
rows: 5,
rows: 10,
},
},
required_tag: {
@ -52,7 +52,7 @@ const Legal: FC = () => {
reserved_tags: {
'ui:widget': 'textarea',
'ui:options': {
rows: 5,
rows: 10,
},
},
};