File tree 1 file changed +13
-12
lines changed
1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,21 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {
18
18
sharedStyles ,
19
19
css `
20
20
:host {
21
- height: 100%;
22
21
display: flex;
22
+ flex: 1;
23
+ height: 100%;
23
24
flex-direction: column;
24
25
}
25
26
26
27
.outer {
28
+ flex: 1;
27
29
height: 100%;
28
30
display: flex;
29
31
flex-direction: column;
30
32
}
31
33
32
34
.container {
35
+ flex: 1;
33
36
height: 100%;
34
37
display: flex;
35
38
flex-direction: column;
@@ -90,10 +93,8 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {
90
93
91
94
.clear-btn {
92
95
position: relative;
93
- float: left;
94
96
top: 20px;
95
97
left: 0px;
96
- margin: 1px solid red;
97
98
}
98
99
` ,
99
100
]
@@ -114,16 +115,16 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {
114
115
115
116
render ( ) {
116
117
return html `
117
- < div class ="clear-btn ">
118
- < mwc-button
119
- raised
120
- label ="${ this . _ ( 'New' ) } "
121
- icon ="clear_all "
122
- @click ="${ this . _handleClear } "
123
- ?disabled =${ this . messages . length === 0 }
124
- > </ mwc-button >
125
- </ div >
126
118
< div class ="outer ">
119
+ < div class ="clear-btn ">
120
+ < mwc-button
121
+ raised
122
+ label ="${ this . _ ( 'New' ) } "
123
+ icon ="clear_all "
124
+ @click ="${ this . _handleClear } "
125
+ ?disabled =${ this . messages . length === 0 }
126
+ > </ mwc-button >
127
+ </ div >
127
128
< div class ="container ">
128
129
< div class ="conversation ">
129
130
${
You can’t perform that action at this time.
0 commit comments