mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
Merge pull request #552 from sharetribe/messages-layout
Fix Messages component layout
This commit is contained in:
commit
2d884dcf41
3 changed files with 15 additions and 2 deletions
|
|
@ -4,13 +4,15 @@
|
|||
margin: 0;
|
||||
|
||||
/* Clearfix */
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
@apply --clearfix;
|
||||
}
|
||||
|
||||
.messageItem {
|
||||
margin-bottom: 35px;
|
||||
|
||||
/* Clearfix */
|
||||
@apply --clearfix;
|
||||
|
||||
@media (--viewportMedium) {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ export const WithCurrentUser = {
|
|||
messages: [
|
||||
createMessage('msg1', {}, { sender: createUser('user1') }),
|
||||
createMessage('msg2', {}, { sender: createUser('user2') }),
|
||||
createMessage('msg3', {}, { sender: createUser('user1') }),
|
||||
],
|
||||
currentUser: createCurrentUser('user2'),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -96,6 +96,16 @@
|
|||
--modalPadding: 24px 24px 48px 24px;
|
||||
--modalPaddingMedium: 55px 60px 55px 60px;
|
||||
|
||||
/* ================ Clearfix solution ================ */
|
||||
|
||||
--clearfix {
|
||||
&:after {
|
||||
content: '';
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
/* ================ Links ================ */
|
||||
|
||||
--marketplaceLinkStyles: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue