more styling posts
too lazy to made up commit message atp
This commit is contained in:
parent
ab7172dbe0
commit
b114795f4f
@ -27,8 +27,8 @@
|
||||
|
||||
"<div class=\"post_info\">" +
|
||||
"<div>Název: " + result[i].title + "</div>" +
|
||||
((result[i].description != null) ? "<div>Popis: " + result[i].description + "</div>" : "") +
|
||||
"<div>Autor: " + result[i].username + "</div>" +
|
||||
((result[i].description != null) ? "<div class=\"post_desc\">Popis: <div class=\"post_desc_text\">" + result[i].description + "</div></div>" : "") +
|
||||
"</div>" +
|
||||
"</div>"
|
||||
);
|
||||
|
@ -142,16 +142,23 @@ body
|
||||
|
||||
#info_pane
|
||||
{
|
||||
position: relative;
|
||||
position: absolute;
|
||||
|
||||
width: fit-content;
|
||||
height: auto;
|
||||
height: fit-content;
|
||||
margin: 0 auto;
|
||||
padding: 5vh;
|
||||
|
||||
border: solid 1px #3E392F;
|
||||
border-radius: 0.5vh 0.5vh;
|
||||
background: #6F7270;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#info_pane *
|
||||
{
|
||||
padding: 0.5vh;
|
||||
}
|
||||
|
||||
#save_btn
|
||||
@ -269,3 +276,19 @@ body
|
||||
{
|
||||
filter: invert(10%);
|
||||
}
|
||||
|
||||
.post_desc
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-top: 1vh;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.post_desc_text
|
||||
{
|
||||
height: fit-content;
|
||||
max-height: 15vh;
|
||||
overflow-y: auto;
|
||||
padding-left: 1vw;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user