mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Refactor regex info block to use a shared function
This commit is contained in:
@@ -106,18 +106,21 @@ input.enable_scoped {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#regex_info_block {
|
||||
#regex_info_block_wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#regex_info_block {
|
||||
margin: 10px 0;
|
||||
padding: 5px 20px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#regex_info_block:empty {
|
||||
#regex_info_block_wrapper:has(#regex_info_block:empty) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#regex_info_block .info-block-flags-hint {
|
||||
#regex_info_block_flags_hint {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 10px;
|
||||
|
Reference in New Issue
Block a user