forked from Adleraci/adlerka.top
		
	Add article creation frontend
This commit is contained in:
		@@ -191,7 +191,8 @@ async function submitarticle(){
 | 
			
		||||
 | 
			
		||||
async function articleInit(){
 | 
			
		||||
    let articleSubmitElement = document.getElementById("articlesubmit");
 | 
			
		||||
    await togglearticlecreate();
 | 
			
		||||
    let articleAddElement = document.getElementById("articlecreateopen");
 | 
			
		||||
    articleAddElement.addEventListener("click", togglearticlecreate);
 | 
			
		||||
    articleSubmitElement.addEventListener("click", submitarticle);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -373,6 +373,9 @@ body:has(.ye-span:hover) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#articlecreatecontainer{
 | 
			
		||||
    display: flex;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    align-content: center;
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    width: 100vw;
 | 
			
		||||
    height: 100vh;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user