All working nicely

This commit is contained in:
2026-04-16 21:29:31 -07:00
parent 3fef295b59
commit eb4dbb2448
9 changed files with 139 additions and 184 deletions

View File

@@ -297,6 +297,7 @@ iframe {
#compose {
display: none;
flex-direction: column;
position: fixed;
top: 5%;
left: 50%;
@@ -305,7 +306,7 @@ iframe {
max-height: 85vh;
max-width: 600px;
overflow-y: auto;
overflow-y: auto;
background-color: var(--main-bg-color);
z-index: 100;
@@ -316,14 +317,58 @@ iframe {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
#compose-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 8px;
}
@media (pointer: coarse) {
#compose {
top: 0;
width: 100%;
height: 100dvh;
max-height: 100dvh;
box-sizing: border-box;
overflow-y: hidden;
border: none;
border-radius: 0;
box-shadow: none;
}
#textarea_post {
flex: 1;
min-height: 0;
height: auto;
max-height: none;
resize: none;
border: none;
}
#textarea_post:focus {
outline: none;
}
#compose-reply-area {
border-bottom: 1px solid var(--border-color);
margin-bottom: 0;
}
}
#compose-reply-area {
display: none;
padding: 8px 10px;
margin-bottom: 8px;
border-left: 3px solid var(--highlight-fg-color);
font-size: 0.85em;
}
.compose-reply-author {
font-weight: bold;
font-size: 0.85em;
margin-bottom: 2px;
}
.compose-reply-preview {
display: flex;
gap: 10px;
@@ -337,16 +382,15 @@ iframe {
}
.compose-reply-preview-text iframe {
width: 120px;
height: 68px;
pointer-events: none;
}
.compose-reply-preview-image {
width: 48px;
height: 48px;
max-width: 48px;
max-height: 48px;
width: 96px;
height: 96px;
max-width: 96px;
max-height: 96px;
object-fit: cover;
border-radius: 4px;
flex-shrink: 0;