Skip to content

Commit

Permalink
Try to fix UI bug #540
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Dec 28, 2024
1 parent 25ed056 commit 3d3e9e5
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/components/GrampsjsChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {
sharedStyles,
css`
:host {
height: 100%;
display: flex;
flex: 1;
height: 100%;
flex-direction: column;
}
.outer {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
}
.container {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -90,10 +93,8 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {
.clear-btn {
position: relative;
float: left;
top: 20px;
left: 0px;
margin: 1px solid red;
}
`,
]
Expand All @@ -114,16 +115,16 @@ class GrampsjsChat extends GrampsjsTranslateMixin(LitElement) {

render() {
return html`
<div class="clear-btn">
<mwc-button
raised
label="${this._('New')}"
icon="clear_all"
@click="${this._handleClear}"
?disabled=${this.messages.length === 0}
></mwc-button>
</div>
<div class="outer">
<div class="clear-btn">
<mwc-button
raised
label="${this._('New')}"
icon="clear_all"
@click="${this._handleClear}"
?disabled=${this.messages.length === 0}
></mwc-button>
</div>
<div class="container">
<div class="conversation">
${
Expand Down

0 comments on commit 3d3e9e5

Please sign in to comment.