Skip to content

refs #23552 [de_l242] modified rvk-tree css to be more specific and only apply to rvk container

Jean-Pascal Kanter requested to merge issue/23552 into main

CSS Datei so erweitern das alle Styles Nachfolger von #rvk-tree sein müssen.

Veränderungen vorgenommen mit Python Script

import pyperclip

if __name__ == "__main__":
   """ 
   Takes all text from clipboard (in this case an entire css file) and formats
   it accordingly / adds the specific text that is hardcoded into this
   """ 
   entry_filter = [".j", "#js", ".vakata"]
    all_is_text = pyperclip.paste()
    lines = str(all_is_text).split("\n")
    bloated = "" 
    for line in lines:
        insert = False
        for check in entry_filter:
            if line.lstrip().startswith(check):
                insert = True
        if not insert:
            bloated += line + "\n" 
            continue
        lead = len(line) - len(line.lstrip(' '))
        to_add = f"{' '*lead}#rvk-tree {line.lstrip()}" 
        bloated += to_add + "\n" 
    pyperclip.copy(bloated)

Merge request reports