forked from mystiq/hydrogen-web
WIP: styling for date separator
This commit is contained in:
parent
fa534b0ca9
commit
2bba8f09ed
1 changed files with 15 additions and 1 deletions
|
@ -103,7 +103,7 @@ limitations under the License.
|
|||
/* reset body margin */
|
||||
margin: 0;
|
||||
/* first try break-all, then break-word, which isn't supported everywhere */
|
||||
word-break: break-all;
|
||||
word-break: break-all;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
|
@ -422,3 +422,17 @@ only loads when the top comes into view*/
|
|||
.GapView.isAtTop {
|
||||
padding: 52px 20px 12px 20px;
|
||||
}
|
||||
|
||||
.DateSeparator {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.DateSeparator > time {
|
||||
background-color: var(--background-color-primary--darker-10);
|
||||
border-radius: 16px;
|
||||
padding: 4px 16px;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue