Skip to content

Commit

Permalink
Fix notification offset and remove bio editing
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufsallam64 committed Aug 4, 2023
1 parent b9fb16a commit 0d229af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
22 changes: 1 addition & 21 deletions src/elements/group/group-profile-edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export default class GroupProfileEdit extends LitElement {
</div>
<h2>
Group name<span class="lettercount"
Group name<span class="lettercount"
>${utils.countCodePoints(
this.displayNameValue ?? ''
)}/${MAX_GROUPNAME_LENGTH}</span
Expand All @@ -315,26 +315,6 @@ export default class GroupProfileEdit extends LitElement {
@select=${this.selectPublicity.bind(this)}
></drop-down-list>
</div>
<h2>
Bio<span class="lettercount"
>${utils.countCodePoints(this.bioValue)}/${MAX_BIO_LENGTH}</span
>
</h2>
<text-input
area
id="bio-input"
.init=${this.bioValue}
placeholder="Enter your bio here..."
.maxlength=${MAX_BIO_LENGTH}
@input=${this.bioInput.bind(this)}
></text-input>
${bioErrors.length > 0
? html`
<span id="profile-error">
<e-svg src="regular/circle-exclamation"></e-svg> ${bioErrors[0]}</li>
</span>`
: null}
</div>
</div>
`;
Expand Down
2 changes: 1 addition & 1 deletion src/elements/overlay/identity-notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default class IdentityNotification extends LitElement {

// Render message subtitle separately (can return null)
return html`
<div id="expand" class="pt-[4rem]">
<div id="expand">
<div
id="base"
class=${classes}
Expand Down
2 changes: 2 additions & 0 deletions src/elements/overlay/notification-overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ export default class NotificationOverlay extends LitElement {
}

return html`
<!-- Offset notification overlay for navbar -->
<div class="pt-[4rem]"></div>
<div id="base">
${repeat(
this.notifications,
Expand Down

0 comments on commit 0d229af

Please sign in to comment.