Minor fixups

Add dark theme to tag suggestions, and remove printf() call.
This commit is contained in:
Robin Malley 2021-02-22 07:08:50 +00:00
parent 701800cfe2
commit 8cf7344e7b
2 changed files with 8 additions and 5 deletions

View File

@ -1,17 +1,20 @@
.tag-suggestion, .tag-suggestion>input {
height: 1rem !important;
margin:0px;
}
.tag-suggestion{
font-size:0.8rem !important;
height: 1rem !important;
margin: 0px;
display:block !important;
}
.tag-suggestion>input{
line-height:1rem !important;
height:1rem !important;
width:100% !important;
text-align:left;
background-color:transparent;
color:black;
border:none;
padding:0px;
}
.tag-suggestion-list{
list-style: none;
@ -21,7 +24,7 @@
border-top: 0px;
}
@media (prefers-color-scheme: dark){
body, input, select, textarea, pre, code{
body, input, select, textarea, pre, code, .tag-suggestion-list{
background: #1c1428;
color: #d0d4d8 !important;
}

View File

@ -81,7 +81,7 @@ errhandeler(lua_State *L){
int
do_lua(struct http_request *req, const char *name){
printf("About to do lua %s\n",name);
//printf("About to do lua %s\n",name);
lua_pushcfunction(L,errhandeler);
lua_getglobal(L,name);//err(),name()
if(!lua_isfunction(L,-1)){