forked from Gitlink/forgeplus-react
首页banner跳转+md换行样式恢复
This commit is contained in:
parent
1608f30ba6
commit
56ce9cfbec
|
@ -78,8 +78,7 @@ body {
|
|||
.markdown-body p {
|
||||
margin:10px 0px!important;
|
||||
font-size: 16px !important;
|
||||
/* 用户提出多个徽章换行显示,p标签会换行显示 */
|
||||
/* white-space: pre-wrap; */
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.markdown-body>p {
|
||||
|
|
|
@ -48,7 +48,7 @@ function TopEdition({register,current_user}) {
|
|||
return(
|
||||
<div className={`regform`}>
|
||||
{/* style={{backgroundImage:`url(${getImageUrl(i.image)})`}} */}
|
||||
<div onClick={()=>{if(k === 3){window.location.href="https://forum.gitlink.org.cn/forums/7653/detail"}}} style={{cursor: k === 3 ? 'pointer' : ''}}>
|
||||
<div onClick={()=>{if(i.url){window.location.href=i.url}}} style={{cursor: i.url ? 'pointer' : ''}}>
|
||||
<img src={getImageUrl(i.image)} alt="" height="100%"/>
|
||||
{
|
||||
k +1 === bannerList.length && (!(current_user && current_user.login)) ?
|
||||
|
|
Loading…
Reference in New Issue