Forum post text style fixes.

This commit is contained in:
flash 2023-01-29 21:34:22 +00:00
parent 03a0dcd948
commit af6d4aff3a
3 changed files with 12 additions and 20 deletions

View file

@ -376,15 +376,3 @@
.aembedph-play-external-link:active {
background-color: var(--background-colour-translucent-5);
}
.iembed {
display: inline-block;
overflow: hidden;
text-shadow: initial;
vertical-align: baseline;
}
.iembed img {
vertical-align: middle;
max-width: 100%;
max-height: 900px
}

View file

@ -46,15 +46,11 @@
}
.forum__post__text {
margin: 2px;
line-height: 1.2em;
padding: 2px;
line-height: 1.4em;
flex: 1 1 auto;
overflow: auto;
}
.forum__post__text--edit {
/* figure out why this is needed */
max-width: calc(100% - 4px);
min-width: calc(100% - 4px);
.forum__post__text--edit {
margin: 2px 2px 0;
min-height: 400px;
height: 100%;
@ -66,6 +62,12 @@
font-family: inherit;
}
.forum__post__text img {
vertical-align: middle;
max-width: 100%;
max-height: 900px
}
.forum__post__info__content {
width: 150px;
text-align: center;
@ -173,6 +175,8 @@
}
.forum__post__signature img {
vertical-align: middle;
max-width: 100%;
max-height: 150px;
}
.forum__post__badge {

View file

@ -92,7 +92,7 @@ Misuzu.Forum.Editor.init = function() {
postingPreview.removeAttribute('hidden');
postingText.setAttribute('hidden', 'hidden');
previewButton.value = 'back';
previewButton.textContent = 'Back';
previewButton.textContent = 'Edit';
postingMode.dataset.original = postingMode.textContent;
postingMode.textContent = 'Previewing';
return;