forked from Gitlink/forgeplus-react
代码库一级页面提交信息css样式问题
This commit is contained in:
parent
ed548d16e8
commit
8bdd619dde
|
@ -197,7 +197,7 @@ function CoderDepot(props){
|
||||||
let ele = document.getElementById("ptxt");
|
let ele = document.getElementById("ptxt");
|
||||||
if(ele){
|
if(ele){
|
||||||
let h = ele.offsetHeight;
|
let h = ele.offsetHeight;
|
||||||
if( h > 33 ) setHideBtn(true);
|
if( h > 35 ) setHideBtn(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},[projectDetail,lastCommit])
|
},[projectDetail,lastCommit])
|
||||||
|
|
|
@ -18,6 +18,9 @@ const Infos = styled.div`
|
||||||
border: 1px solid rgba(42, 97, 255, 0.23);
|
border: 1px solid rgba(42, 97, 255, 0.23);
|
||||||
border-radius: 3px 3px 0px 0px;
|
border-radius: 3px 3px 0px 0px;
|
||||||
padding: 10px 20px 10px 16px;
|
padding: 10px 20px 10px 16px;
|
||||||
|
& .markdown-body table{
|
||||||
|
background: #f1f8ff;
|
||||||
|
}
|
||||||
& .f-wrap-between{
|
& .f-wrap-between{
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,10 +252,10 @@
|
||||||
border: 1px solid rgba(42, 97, 255, 0.23);
|
border: 1px solid rgba(42, 97, 255, 0.23);
|
||||||
background-color: #FAFCFF;
|
background-color: #FAFCFF;
|
||||||
.ellipsistxt{
|
.ellipsistxt{
|
||||||
.markdown-body{
|
&:hover .markdown-body{
|
||||||
line-height: 8px;
|
color: #466AFF;
|
||||||
& p {
|
& a{
|
||||||
margin: 0 0px !important;
|
color: #466AFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
@ -269,6 +269,25 @@
|
||||||
white-space:-pre-wrap; /* Opera 4-6 */
|
white-space:-pre-wrap; /* Opera 4-6 */
|
||||||
white-space:-o-pre-wrap; /* Opera 7 */
|
white-space:-o-pre-wrap; /* Opera 7 */
|
||||||
word-wrap:break-word;
|
word-wrap:break-word;
|
||||||
|
.markdown-body{
|
||||||
|
line-height: 10px;
|
||||||
|
& p {
|
||||||
|
margin: 0px 0px !important;
|
||||||
|
}
|
||||||
|
& ol,ul{
|
||||||
|
padding-bottom: 3px;
|
||||||
|
& li{
|
||||||
|
min-height: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
& table{
|
||||||
|
line-height: 1;
|
||||||
|
background: #FAFCFF;
|
||||||
|
}
|
||||||
|
&:first-child {
|
||||||
|
margin-top: -1px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
margin-left: 13px;
|
margin-left: 13px;
|
||||||
line-height:18px;
|
line-height:18px;
|
||||||
|
@ -276,7 +295,7 @@
|
||||||
width: 0;
|
width: 0;
|
||||||
color: #666;
|
color: #666;
|
||||||
&.hidetxt{
|
&.hidetxt{
|
||||||
height: 22px;
|
height: 24px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-right:8px;
|
padding-right:8px;
|
||||||
|
|
|
@ -735,6 +735,9 @@ a.color-grey-ccc:hover{
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
& .markdown-body table{
|
||||||
|
background: #FAFCFF;
|
||||||
|
}
|
||||||
&:after,&:before{
|
&:after,&:before{
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -760,6 +763,9 @@ a.color-grey-ccc:hover{
|
||||||
&:before{
|
&:before{
|
||||||
border-right: 10px solid rgba(42, 97, 255, 0.58);
|
border-right: 10px solid rgba(42, 97, 255, 0.58);
|
||||||
}
|
}
|
||||||
|
& .markdown-body table{
|
||||||
|
background: #EEF6FF;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.treecopy-cont{
|
.treecopy-cont{
|
||||||
padding: 4px 15px;
|
padding: 4px 15px;
|
||||||
|
|
Loading…
Reference in New Issue