Skip to content

Commit

Permalink
MM-18541 - Updating header description css (mattermost#4048)
Browse files Browse the repository at this point in the history
  • Loading branch information
asaadmahmood committed Oct 30, 2019
1 parent 70ef7ca commit 14f6c9e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sass/layout/_headers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.channel-header {
@include flex(0 0 63px);
max-height: 63px;
border-bottom: 1px solid;
font-size: 14px;
position: relative;
Expand Down Expand Up @@ -87,7 +88,7 @@
}

.markdown__paragraph-inline {
margin: 0;
margin: 0 0 5px;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
Expand Down Expand Up @@ -370,7 +371,7 @@
position: relative;
text-overflow: ellipsis;
margin: 2px 0 0;
height: 22px;
height: 27px;
width: 100%;
display: flex;
align-items: flex-start;
Expand Down Expand Up @@ -398,6 +399,8 @@
.header-description__text {
flex: 1 1 0;
overflow: hidden;
display: flex;
flex-direction: column;
}

.status {
Expand Down
9 changes: 9 additions & 0 deletions sass/layout/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ h6 {
vertical-align: middle;
}

.post {
&.post--system {
.markdown-inline-img {
max-width: 200px;
width: auto;
}
}
}

.markdown-inline-img--hover {
max-width: calc(100% - 5px);
border: 1px solid transparent;
Expand Down

0 comments on commit 14f6c9e

Please sign in to comment.