Skip to content

Commit 7f8a6e3

Browse files
authored
fix: Remove more text decorations in page tree introduced by django 5.2 (#8219)
* fix: Remove text decorations in page tree introduced by django 5.2 * Update cms/static/cms/sass/components/pagetree/_tree.scss * Fix: Update action buttons * More unneded text decorations removed
1 parent 47040a2 commit 7f8a6e3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cms/static/cms/sass/cms.admin.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ $pagetree: true;
1515
@import "components/iconography";
1616

1717

18-
#content-main a.btn.btn, #content-main a.cms-btn.cms-btn {
18+
#content-main a.btn.btn,
19+
#content-main a.cms-btn.cms-btn,
20+
#container.menu-cover.cms-pagetree ul.cms-pagetree-dropdown-menu-inner a {
1921
// Necessary since django admin adds a decoration to every link except some
20-
// This is needed to get a higher specificity (including the .btn.btn)
22+
// This is needed to get a higher specificity (including the class repetitions)
2123
text-decoration: none;
2224
}
2325

cms/static/cms/sass/components/pagetree/_tree.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
padding: 0 !important;
5959
box-shadow: $pagetree-box-shadow !important;
6060
}
61-
#content-main .cms-pagetree.cms-pagetree a {
61+
#content-main .cms-pagetree.cms-pagetree.cms-pagetree a {
6262
// Necessary since django admin adds a decoration to every link except some
6363
// This is needed to get a higher specificity
6464
text-decoration: none;

0 commit comments

Comments
 (0)