fix(web): adjust VersionCard max height constraint

- Update max-height from 420px to 400px in VersionCard component
- Improve layout consistency and prevent content overflow
- Adjust responsive styling for better visual presentation
This commit is contained in:
yujiangping
2026-01-16 15:38:52 +08:00
parent 88abdc49fe
commit 2b017139ef

View File

@@ -4,7 +4,7 @@
* @Author: yujiangping
* @Date: 2026-01-12 16:34:59
* @LastEditors: yujiangping
* @LastEditTime: 2026-01-16 13:00:22
* @LastEditTime: 2026-01-16 15:38:35
*/
import React, { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -44,7 +44,7 @@ const GuideCard: React.FC = () => {
{versionInfo?.version}
</span>
</div>
<div className='rb:flex rb:flex-col rb:max-h-[420px] rb:overflow-y-auto rb:text-[#5B6167]'>
<div className='rb:flex rb:flex-col rb:max-h-[400px] rb:overflow-y-auto rb:text-[#5B6167]'>
{versionInfo && (() => {
const introduction = getIntroduction();
return introduction ? (<>