Commit 8b74b9aa authored by papuSpartan's avatar papuSpartan
Browse files

add symbol for clear button and simplify roll_col css selector

parent 604620a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ folder_symbol = '\U0001f4c2' # 📂
refresh_symbol = '\U0001f504'  # 🔄
save_style_symbol = '\U0001f4be'  # 💾
apply_style_symbol = '\U0001f4cb'  # 📋
trash_prompt_symbol = '\U0001F5D1' # 🗑🗑🗑


def plaintext_to_html(text):
@@ -498,6 +499,7 @@ def create_toprow(is_img2img):
            paste = gr.Button(value=paste_symbol, elem_id="paste")
            save_style = gr.Button(value=save_style_symbol, elem_id="style_create")
            prompt_style_apply = gr.Button(value=apply_style_symbol, elem_id="style_apply")
            trash_prompt = gr.Button(value=trash_prompt_symbol, elem_id="trash_prompt")

            token_counter = gr.HTML(value="<span></span>", elem_id=f"{id_part}_token_counter")
            token_button = gr.Button(visible=False, elem_id=f"{id_part}_token_button")
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@
    padding: 0.4em 0;
}

#roll, #paste, #style_create, #style_apply{
#roll_col > button {
    min-width: 2em;
    min-height: 2em;
    max-width: 2em;