Merge pull request #1481 from asaadmahmoodspin/ui-improvements
Updating markdown stuff
Этот коммит содержится в:
@@ -81,7 +81,7 @@ export default class PostInfo extends React.Component {
|
|||||||
role='presentation'
|
role='presentation'
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
className='reply-link visible-xs theme'
|
className='link__reply theme'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={this.props.handleCommentClick}
|
onClick={this.props.handleCommentClick}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -9,11 +9,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#post-list {
|
#post-list {
|
||||||
.markdown-inline-img {
|
.markdown-inline-img {
|
||||||
-moz-force-broken-image-icon: 1;
|
-moz-force-broken-image-icon: 1;
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-body--code {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-body--code__language {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
color: #fff;
|
||||||
|
background: #21586D;
|
||||||
|
padding: 4px 10px 5px 10px;
|
||||||
|
font-size: 13px;
|
||||||
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post__body {
|
.post__body {
|
||||||
@@ -25,6 +40,9 @@
|
|||||||
border: 0 none;
|
border: 0 none;
|
||||||
@include opacity(0.2);
|
@include opacity(0.2);
|
||||||
}
|
}
|
||||||
|
code {
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.markdown__table {
|
.markdown__table {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -33,6 +33,9 @@
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
width: 21px;
|
width: 21px;
|
||||||
}
|
}
|
||||||
|
.glyphicon-search {
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
.icon--white {
|
.icon--white {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -363,12 +363,6 @@ body.ios {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 1em;
|
margin: 0 0 1em;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
@@ -520,6 +514,8 @@ body.ios {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post__header {
|
.post__header {
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@@ -588,6 +584,11 @@ body.ios {
|
|||||||
padding: 0.2em 0.5em 0em;
|
padding: 0.2em 0.5em 0em;
|
||||||
@include legacy-pie-clearfix;
|
@include legacy-pie-clearfix;
|
||||||
width: calc(100% - 70px);
|
width: calc(100% - 70px);
|
||||||
|
|
||||||
|
ul {
|
||||||
|
padding: 5px 0 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.post__link {
|
.post__link {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user