feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,15 +17,15 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { ChevronDown as ActionChevronDown } from '@/components/common/icons/ActionIcons';
|
||||
import React from 'react';
|
||||
import { ChevronDown } from 'lucide-react';
|
||||
import './collapsible-panel.css';
|
||||
|
||||
const CollapsibleHeader = ({ icon, title, isOpen, onToggle, extra }) => (
|
||||
<button
|
||||
type='button'
|
||||
aria-expanded={isOpen}
|
||||
className='w-full text-left flex items-center justify-between gap-2 cursor-pointer select-none px-5 py-4 bg-white dark:bg-gray-800 rounded-xl shadow-sm hover:shadow-md transition-all border border-gray-100 dark:border-gray-700'
|
||||
className='app-action-button w-full text-left flex items-center justify-between gap-2 cursor-pointer select-none px-5 py-4 bg-white dark:bg-gray-800 rounded-xl shadow-sm hover:shadow-md transition-all border border-gray-100 dark:border-gray-700'
|
||||
onClick={onToggle}
|
||||
>
|
||||
<span className='flex items-center gap-2 min-w-0 flex-wrap'>
|
||||
@@ -35,7 +35,7 @@ const CollapsibleHeader = ({ icon, title, isOpen, onToggle, extra }) => (
|
||||
</span>
|
||||
{extra}
|
||||
</span>
|
||||
<ChevronDown
|
||||
<ActionChevronDown
|
||||
aria-hidden='true'
|
||||
className={`w-5 h-5 flex-shrink-0 text-gray-400 transition-transform duration-300 ${isOpen ? 'rotate-180' : ''}`}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user