mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Better cross-browser styling for WI item type
The WI item type styling for Chrome is now (as far as I can tell) 1:1 with Firefox. This means there is actually now typing feedback!!!
This commit is contained in:
@@ -1110,12 +1110,20 @@ td.server_vars {
|
||||
.world_info_item_type {
|
||||
/* Workaround for Firefox bug: https://stackoverflow.com/a/42283543 */
|
||||
padding: 1px;
|
||||
padding-bottom: 0px;
|
||||
|
||||
display: inline-block;
|
||||
height: 2.8ex;
|
||||
cursor: text;
|
||||
outline: none;
|
||||
border-bottom: 1px solid gray;
|
||||
transition: color 200ms, border-bottom-color 200ms;
|
||||
}
|
||||
|
||||
.world_info_item_type::before {
|
||||
opacity: 0.3 !important;
|
||||
}
|
||||
|
||||
.world_info_item_type.bad-input {
|
||||
color: rgb(255, 103, 103);
|
||||
border-bottom-color: red;
|
||||
|
Reference in New Issue
Block a user