Skip to content

Commit b3555a2

Browse files
committed
[FIX] website_forum: make navigation more consistent
This commit fixes typography in the forum by refining the style of breadcrumbs and headings, making navigation more consistent. task-5079831 closes odoo#226947 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
1 parent b196582 commit b3555a2

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

addons/website_forum/static/src/scss/website_forum.scss

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,38 @@ $-forum-sidebar-width: map-get($container-max-widths, sm) / 2;
2626
--o-post-header-height: var(--o-avatar-height);
2727

2828
.o_wforum_content_wrapper {
29-
.o_searchbar_form {
30-
min-width: 200px;
29+
#o_wforum_nav {
30+
align-items: center;
31+
32+
.o_wforum_breadcrumb_root_list_or_edit h1 {
33+
margin: 0 !important;
34+
font-size: var(--h4-font-size) !important;
35+
36+
span {
37+
font-weight: $headings-font-weight !important;
38+
}
39+
}
40+
41+
.breadcrumb-item {
42+
padding-top: calc(#{$btn-padding-y} + #{$btn-border-width});
43+
padding-bottom: calc(#{$btn-padding-y} + #{$btn-border-width});
44+
font-size: $btn-font-size;
45+
line-height: $btn-line-height;
46+
47+
h1 {
48+
font-size: $btn-font-size !important;
49+
font-family: var(--body-font-family);
50+
}
51+
52+
span.fw-bold, strong {
53+
color: $text-muted;
54+
font-weight: var(--body-font-weight) !important;
55+
}
56+
}
57+
58+
.o_searchbar_form {
59+
min-width: 200px;
60+
}
3161
}
3262
}
3363

0 commit comments

Comments
 (0)