forked from Adleraci/adlerka.top
Fix articles
This commit is contained in:
@@ -213,13 +213,13 @@ async function submitarticle(){
|
||||
"Nastala chyba pri pridávaní článku",
|
||||
false
|
||||
);
|
||||
togglearticlecreate();
|
||||
await togglearticlecreate();
|
||||
}
|
||||
|
||||
async function articleInit(){
|
||||
let articleContainerElement = document.getElementById("articlecreatecontainer");
|
||||
articleContainerElement.addEventListener("keyup", function (ev) {
|
||||
if(ev.which === 27){
|
||||
if(ev.key === "Escape"){
|
||||
togglearticlecreate();
|
||||
}
|
||||
})
|
||||
|
@@ -355,14 +355,12 @@ button:hover {
|
||||
}
|
||||
|
||||
header.ye-span:hover + body{
|
||||
background: url('/assets/images/ye.jpg') !important;
|
||||
background-repeat: repeat !important;
|
||||
background: url('/assets/images/ye.jpg') repeat !important;
|
||||
background-size: 10% !important;
|
||||
}
|
||||
|
||||
body:has(.ye-span:hover) {
|
||||
background: url('/assets/images/ye.jpg') !important;
|
||||
background-repeat: repeat !important;
|
||||
background: url('/assets/images/ye.jpg') repeat !important;
|
||||
background-size: 10% !important;
|
||||
}
|
||||
|
||||
@@ -396,7 +394,11 @@ div#articleslist{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div#articleslist > article > div#articleinfo{
|
||||
div#articleslist > article > div.articleinfo > *{
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
div#articleslist > article > div.articleinfo{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
Reference in New Issue
Block a user