File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
.op-logo
2
- width : 230 px
2
+ width : 130 px
3
3
height : var(-- header- height)
4
+ margin-left : 1rem
4
5
5
6
& --link
6
- margin-top : 12 px
7
+ margin-top : 16 px
7
8
width : 100%
8
9
display : block
9
- height : 30px
10
- background : no-repeat 20px 0
10
+ height : 24px
11
11
text-indent : -9999em
12
- background-position : center
12
+ background : no-repeat center
13
13
background-size : contain
14
- background-repeat : no-repeat
15
14
16
15
@media screen and (max-width : 850px )
17
16
display : none
Original file line number Diff line number Diff line change @@ -38,11 +38,16 @@ def render_top_menu_left
38
38
end
39
39
40
40
def top_menu_left_menu_items
41
- [ render_main_top_menu_nodes ,
41
+ [ render_logo ,
42
+ render_main_top_menu_nodes ,
42
43
render_quick_add_menu ]
43
44
end
44
45
45
46
def render_top_menu_center
47
+ nil
48
+ end
49
+
50
+ def render_logo
46
51
content_tag :div , class : "op-logo" do
47
52
mode_class = User . current . pref . high_contrast_theme? ? "op-logo--link_high_contrast" : ""
48
53
link_to ( I18n . t ( "label_home" ) ,
You can’t perform that action at this time.
0 commit comments