Remove Reply button from guestbook
This commit is contained in:
parent
c42d0c8b9c
commit
9984c0ed55
|
@ -115,11 +115,7 @@ const renderMessage = (item) => {
|
|||
newMessageTime.classList.add('gb__message--time');
|
||||
newMessageTime.textContent = itemValue.timestamp;
|
||||
|
||||
const messageReplyBtn = document.createElement('button');
|
||||
messageReplyBtn.classList.add('gb__message--reply-btn');
|
||||
messageReplyBtn.textContent = 'Reply';
|
||||
|
||||
messageListEl.append(newThreadDiv);
|
||||
newThreadDiv.append(newMessageDiv);
|
||||
newMessageDiv.append(newMessageName, newMessageMsg, newMessageTime, messageReplyBtn);
|
||||
newMessageDiv.append(newMessageName, newMessageMsg, newMessageTime);
|
||||
};
|
|
@ -64,8 +64,7 @@ eleventyComputed:
|
|||
gap: 0.2em;
|
||||
}
|
||||
|
||||
.gb__form--submit,
|
||||
.gb__message--reply-btn {
|
||||
.gb__form--submit {
|
||||
border: none;
|
||||
background: var(--clr-link-btn-bg);
|
||||
color: var(--clr-link-btn-txt);
|
||||
|
@ -74,8 +73,7 @@ eleventyComputed:
|
|||
|
||||
.gb__form--group input,
|
||||
.gb__form--group textarea,
|
||||
.gb__form--submit,
|
||||
.gb__message--reply-btn {
|
||||
.gb__form--submit {
|
||||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
|
@ -102,15 +100,9 @@ eleventyComputed:
|
|||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.gb__message--time,
|
||||
.gb__message--reply-btn {
|
||||
.gb__message--time{
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.gb__message--reply-btn {
|
||||
justify-self: start;
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="module" src="/assets/js/guestbook.js" defer></script>
|
Loading…
Reference in New Issue