forked from Gitlink/forgeplus-react
CCF专区简介logo排版修改
This commit is contained in:
parent
5d046966e7
commit
3cf93f785d
|
@ -74,13 +74,13 @@ function HeaderPage(props){
|
|||
// 专区简介
|
||||
data && (data.introductionTitle || data.introductionContent || data.introductionImage) &&
|
||||
<div className="boxmain zone_infos">
|
||||
<div className="zone_infos_desc">
|
||||
{data.introductionTitle && <p className="z_name">{data.introductionTitle}</p>}
|
||||
<p className="z_desc task-hide-2" style={{WebkitLineClamp:data.introductionTitle?"4":"7"}} dangerouslySetInnerHTML={{ __html: data.introductionContent }} ></p>
|
||||
</div>
|
||||
<div className="zone_infos_desc">
|
||||
{data.introductionTitle && <p className="z_name">{data.introductionTitle}</p>}
|
||||
<p className="z_desc task-hide-2" style={{WebkitLineClamp:data.introductionTitle?"4":"7"}} dangerouslySetInnerHTML={{ __html: data.introductionContent }} ></p>
|
||||
</div>
|
||||
{
|
||||
data.introductionImage &&
|
||||
<img src={data.introductionImage} alt="" height="277px"/>
|
||||
<img src={data.introductionImage} alt="" width="300px"/>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
|
|
@ -770,7 +770,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 54px;
|
||||
padding:27px 24px;
|
||||
padding:40px 24px;
|
||||
&>img{
|
||||
border-radius: 4px;
|
||||
object-fit: contain;
|
||||
|
@ -783,7 +783,7 @@
|
|||
font-size:20px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
margin-bottom: 35px!important;
|
||||
margin-bottom: 30px!important;
|
||||
}
|
||||
.z_desc{
|
||||
color:#3d485d;
|
||||
|
|
Loading…
Reference in New Issue