功能:优化订阅、文件系统移动端适配
This commit is contained in:
@@ -103,7 +103,7 @@ export default () => {
|
|||||||
|
|
||||||
{/* 文件列表 */}
|
{/* 文件列表 */}
|
||||||
<Spin spinning={loading}>
|
<Spin spinning={loading}>
|
||||||
<div className='flex flex-wrap'>
|
<div className='flex flex-wrap justify-center md:justify-normal'>
|
||||||
{
|
{
|
||||||
fileList.length
|
fileList.length
|
||||||
? (
|
? (
|
||||||
@@ -119,7 +119,7 @@ export default () => {
|
|||||||
: dirList.map((dir, index) => (
|
: dirList.map((dir, index) => (
|
||||||
<div
|
<div
|
||||||
key={index}
|
key={index}
|
||||||
className='group w-25 flex flex-col items-center cursor-pointer mx-4'
|
className='group w-25 flex flex-col items-center cursor-pointer mx-4 my-2'
|
||||||
onClick={() => openDir(dir)}>
|
onClick={() => openDir(dir)}>
|
||||||
<img src={fileSvg} alt="" />
|
<img src={fileSvg} alt="" />
|
||||||
<p className='group-hover:text-primary transition-colors'>{dir}</p>
|
<p className='group-hover:text-primary transition-colors'>{dir}</p>
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ const RssPage = () => {
|
|||||||
renderItem={(item: Rss) => (
|
renderItem={(item: Rss) => (
|
||||||
<List.Item
|
<List.Item
|
||||||
key={item.title}
|
key={item.title}
|
||||||
|
className='!p-[16px_0] md:!p-[16px_24px]'
|
||||||
actions={[
|
actions={[
|
||||||
<div className='flex space-x-4'>
|
<div className='flex space-x-4'>
|
||||||
<IconText icon={BiCategory} text={item.type} key="list-vertical-star-o" />
|
<IconText icon={BiCategory} text={item.type} key="list-vertical-star-o" />
|
||||||
|
|||||||
Reference in New Issue
Block a user