🖼️ style(RatioSync): remove the useless rounded-full style
This commit is contained in:
@@ -197,7 +197,6 @@ const ChannelSelectorModal = forwardRef(({
|
|||||||
value={searchText}
|
value={searchText}
|
||||||
onChange={setSearchText}
|
onChange={setSearchText}
|
||||||
showClear
|
showClear
|
||||||
className="!rounded-full"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Table
|
<Table
|
||||||
|
|||||||
@@ -373,7 +373,7 @@ export default function UpstreamRatioSync(props) {
|
|||||||
<div className="flex flex-col md:flex-row gap-2 w-full md:w-auto order-2 md:order-1">
|
<div className="flex flex-col md:flex-row gap-2 w-full md:w-auto order-2 md:order-1">
|
||||||
<Button
|
<Button
|
||||||
icon={<RefreshCcw size={14} />}
|
icon={<RefreshCcw size={14} />}
|
||||||
className="!rounded-full w-full md:w-auto mt-2"
|
className="w-full md:w-auto mt-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setModalVisible(true);
|
setModalVisible(true);
|
||||||
if (allChannels.length === 0) {
|
if (allChannels.length === 0) {
|
||||||
@@ -393,7 +393,7 @@ export default function UpstreamRatioSync(props) {
|
|||||||
type='secondary'
|
type='secondary'
|
||||||
onClick={applySync}
|
onClick={applySync}
|
||||||
disabled={!hasSelections}
|
disabled={!hasSelections}
|
||||||
className="!rounded-full w-full md:w-auto mt-2"
|
className="w-full md:w-auto mt-2"
|
||||||
>
|
>
|
||||||
{t('应用同步')}
|
{t('应用同步')}
|
||||||
</Button>
|
</Button>
|
||||||
@@ -406,7 +406,7 @@ export default function UpstreamRatioSync(props) {
|
|||||||
placeholder={t('搜索模型名称')}
|
placeholder={t('搜索模型名称')}
|
||||||
value={searchKeyword}
|
value={searchKeyword}
|
||||||
onChange={setSearchKeyword}
|
onChange={setSearchKeyword}
|
||||||
className="!rounded-full w-full sm:w-64"
|
className="w-full sm:w-64"
|
||||||
showClear
|
showClear
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -414,7 +414,7 @@ export default function UpstreamRatioSync(props) {
|
|||||||
placeholder={t('按倍率类型筛选')}
|
placeholder={t('按倍率类型筛选')}
|
||||||
value={ratioTypeFilter}
|
value={ratioTypeFilter}
|
||||||
onChange={setRatioTypeFilter}
|
onChange={setRatioTypeFilter}
|
||||||
className="!rounded-full w-full sm:w-48"
|
className="w-full sm:w-48"
|
||||||
showClear
|
showClear
|
||||||
onClear={() => setRatioTypeFilter('')}
|
onClear={() => setRatioTypeFilter('')}
|
||||||
>
|
>
|
||||||
@@ -704,7 +704,6 @@ export default function UpstreamRatioSync(props) {
|
|||||||
scroll={{ x: 'max-content' }}
|
scroll={{ x: 'max-content' }}
|
||||||
size='middle'
|
size='middle'
|
||||||
loading={loading || syncLoading}
|
loading={loading || syncLoading}
|
||||||
className="rounded-xl overflow-hidden"
|
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user