Homepage: Fix long comments
This commit is contained in:
@@ -168,13 +168,11 @@ $node-type-post: #647bce
|
|||||||
margin: 0
|
margin: 0
|
||||||
padding: 15px 0
|
padding: 15px 0
|
||||||
list-style: none
|
list-style: none
|
||||||
+text-overflow-ellipsis
|
|
||||||
+clearfix
|
|
||||||
|
|
||||||
li.activity-stream__list-item
|
li.activity-stream__list-item
|
||||||
display: flex
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
padding: 5px 15px
|
margin: 0 10px 10px
|
||||||
+clearfix
|
+clearfix
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
@@ -217,7 +215,6 @@ $node-type-post: #647bce
|
|||||||
.title
|
.title
|
||||||
color: $color-text-dark
|
color: $color-text-dark
|
||||||
padding: 10px 15px 5px 15px
|
padding: 10px 15px 5px 15px
|
||||||
+text-overflow-ellipsis
|
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
li.where-parent:before
|
li.where-parent:before
|
||||||
@@ -239,7 +236,6 @@ $node-type-post: #647bce
|
|||||||
color: $color-text-dark-primary
|
color: $color-text-dark-primary
|
||||||
max-width: 80%
|
max-width: 80%
|
||||||
padding-bottom: 5px
|
padding-bottom: 5px
|
||||||
+text-overflow-ellipsis
|
|
||||||
font:
|
font:
|
||||||
size: 1.2em
|
size: 1.2em
|
||||||
weight: 500
|
weight: 500
|
||||||
@@ -267,18 +263,14 @@ $node-type-post: #647bce
|
|||||||
|
|
||||||
.activity-stream__list-thumbnail
|
.activity-stream__list-thumbnail
|
||||||
display: flex
|
display: flex
|
||||||
font-size: 1.5em
|
|
||||||
color: $node-type-comment // #B6D1CD
|
|
||||||
position: relative
|
|
||||||
overflow: hidden
|
|
||||||
align-self: flex-start
|
align-self: flex-start
|
||||||
align-items: center
|
|
||||||
justify-content: center
|
justify-content: center
|
||||||
margin-top: 8px
|
font-size: 1.4em
|
||||||
width: 25px
|
width: 30px
|
||||||
height: 25px
|
height: 30px
|
||||||
min-width: 25px
|
min-width: 30px
|
||||||
min-height: 25px
|
min-height: 30px
|
||||||
|
color: $node-type-comment
|
||||||
|
|
||||||
+media-xs
|
+media-xs
|
||||||
display: none
|
display: none
|
||||||
@@ -301,10 +293,12 @@ $node-type-post: #647bce
|
|||||||
+position-center-translate
|
+position-center-translate
|
||||||
|
|
||||||
.activity-stream__list-details
|
.activity-stream__list-details
|
||||||
|
flex: 1
|
||||||
position: relative
|
position: relative
|
||||||
width: 100%
|
max-width: 100%
|
||||||
margin-left: 15px
|
|
||||||
background-color: white
|
background-color: white
|
||||||
|
margin-left: 5px
|
||||||
|
margin-right: auto
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
border-left: 2px solid $color-background
|
border-left: 2px solid $color-background
|
||||||
box-shadow: 0 0 1px 1px rgba(black, .1), 0 2px 5px rgba(black, .05)
|
box-shadow: 0 0 1px 1px rgba(black, .1), 0 2px 5px rgba(black, .05)
|
||||||
|
@@ -57,7 +57,7 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
|
|||||||
a.activity-stream__list-thumbnail(href="{{ url_for_node(node=n) }}")
|
a.activity-stream__list-thumbnail(href="{{ url_for_node(node=n) }}")
|
||||||
i.pi-comment
|
i.pi-comment
|
||||||
.activity-stream__list-details
|
.activity-stream__list-details
|
||||||
a.title(href="{{ url_for_node(node=n) }}") {{ n.properties.content }}
|
a.title(href="{{ url_for_node(node=n) }}") {{ n.properties.content | striptags | truncate(200) }}
|
||||||
ul.meta
|
ul.meta
|
||||||
li.who {{ n.user.full_name }}
|
li.who {{ n.user.full_name }}
|
||||||
li.where-project
|
li.where-project
|
||||||
|
Reference in New Issue
Block a user