[Fix #890] better display of rich text messagerie

This commit is contained in:
Simon Lehericey 2017-10-25 15:37:59 +02:00
parent c9a2b2617d
commit f7dc36364e
5 changed files with 72 additions and 68 deletions

View file

@ -9,63 +9,4 @@
.libelle {
width: 250px;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
small {
font-size: 14px;
}
ol,
ul {
list-style: inside;
}
ol {
list-style-type: decimal;
}
blockquote {
margin: $default-padding 0 $default-padding $default-padding;
}
p {
margin-bottom: $default-padding;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: $default-padding;
line-height: 1;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 28px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
}

View file

@ -3,18 +3,18 @@
@import "constants";
.messagerie {
ul {
.messages-list {
max-height: 350px;
overflow-y: scroll;
border: 1px solid $border-grey;
padding: 2 * $default-spacer;
margin-bottom: $default-spacer;
}
li {
display: flex;
align-items: flex-start;
margin-bottom: 2 * $default-padding;
> li {
display: flex;
align-items: flex-start;
margin-bottom: 2 * $default-padding;
}
}
.person-icon {

View file

@ -0,0 +1,62 @@
@import "constants";
.rich-text {
i {
font-style: italic;
}
b {
font-weight: bold;
}
small {
font-size: 14px;
}
ol,
ul {
list-style: inside;
}
ol {
list-style-type: decimal;
}
blockquote {
margin: $default-padding 0 $default-padding $default-padding;
}
p {
margin-bottom: $default-padding;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: $default-padding;
line-height: 1;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 28px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
}