Add article creation frontend

This commit is contained in:
Bruno Rybársky 2024-02-22 12:18:20 +01:00
parent 4531ecd12b
commit aa1d474dfb
2 changed files with 4 additions and 4 deletions

@ -326,7 +326,7 @@ header a,
color: var(--primary); color: var(--primary);
} }
input { input, textarea {
background-color: var(--third-bg); background-color: var(--third-bg);
border: 2px solid var(--primary); border: 2px solid var(--primary);
border-radius: 50px; border-radius: 50px;
@ -376,7 +376,7 @@ body:has(.ye-span:hover) {
#articlecreatecontainer{ #articlecreatecontainer{
display: flex; display: flex;
align-items: center; align-items: center;
align-content: center; justify-content: center;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

@ -11,7 +11,7 @@
<div id="articlecreatecontainer" class="hidden"> <div id="articlecreatecontainer" class="hidden">
<div id="articlecreate"> <div id="articlecreate">
<input type="text" placeholder="Article Title" id="articletitleinput"><br> <input type="text" placeholder="Article Title" id="articletitleinput"><br>
<textarea id="articlebodyinput" placeholder="Article Body"></textarea><br> <textarea id="articlebodyinput" placeholder="Article Body" rows="20" cols="80"></textarea><br>
<button id="articlesubmit" onclick="submitArticle()">Add</button> <button id="articlesubmit" onclick="submitarticle()">Add</button>
</div> </div>
</div> </div>