How to hide EDIT from Number Cards?

How can I hide Edit button from Number Cards?

thank you

did you find any solution for this ?

Try role permission manager

No dear i have not found any solution yet

can you be specific please, because as per my experience this is not the solution

i tried using css . it worked.
directory structure
the folder is in app/public/css/file.css
in hooks.py include this

app_include_css = "/assets/[app_name]/css/[app_name].css"
a:not([href]):not([class]) {
    display: none !important; /* Completely hide the element */
    color: inherit; /* Ensures no visual impact on other elements */
    text-decoration: none;
}

/* Specific Rule for Light Mode */
[data-theme="light"] a:not([href]):not([class]) {
    display: none !important;
}

/* Specific Rule for Dark Mode */
[data-theme="dark"] a:not([href]):not([class]) {
    display: none !important;
}

then use

bench build 

and clear your browser cache