File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 41
41
}
42
42
}
43
43
44
-
45
44
@media (min-width : 767px ) {
46
45
.navbar {
47
46
& .fixed-title {
52
51
.navbar-topic-title {
53
52
display : none ;
54
53
height : 50px ;
54
+ overflow : hidden ;
55
55
56
- a {
56
+ a .topic-title {
57
57
display : inline ;
58
58
text-decoration : none ;
59
59
overflow : hidden ;
60
60
line-height : 0 ;
61
+ max-width : 400px ;
61
62
color : #000 ;
62
63
& :hover ,
63
64
& :active ,
75
76
}
76
77
}
77
78
79
+ @media (min-width : 992px ) {
80
+ .navbar {
81
+ .navbar-topic-title {
82
+ a .topic-title {
83
+ max-width : 780px ;
84
+ }
85
+ }
86
+ }
87
+ }
88
+
78
89
.move-page-buttons {
79
90
position : fixed ;
80
91
bottom : 10px ;
Original file line number Diff line number Diff line change 7
7
<% content_for :header do %>
8
8
< div class ="navbar-nav ">
9
9
< div class ="navbar-topic-title ">
10
- < a href ="# " class ="topic-title pull-left " data-type ="top ">
10
+ < a href ="# " class ="topic-title pull-left " title =" <%= topic . title %> " data-type ="top ">
11
11
< h1 > <%= topic . title %> <%= topic_close_tag ( topic ) %> </ h1 >
12
12
</ a >
13
13
< span class ="node "> <%= topic . node_name %> </ span >
You can’t perform that action at this time.
0 commit comments