div { display: none; } [data-test="nav-button-Edit"]:after { content:'Edit'; color: white; font-weight: bold; }"> div { display: none; } [data-test="nav-button-Edit"]:after { content:'Edit'; color: white; font-weight: bold; }"> div { display: none; } [data-test="nav-button-Edit"]:after { content:'Edit'; color: white; font-weight: bold; }">
<pre><span><style>
[data-test="nav-button-Edit"] {
background-color: var(--app-color-accent) !important;
margin-right: 8px;
border-radius: 8px;
color: black;
}
[data-test="nav-button-Edit"] > div {
display: none;
}
[data-test="nav-button-Edit"]:after {
content:'Edit';
color: white;
font-weight: bold;
}
Credits to adriasoce on Glide Community.