File tree Expand file tree Collapse file tree 5 files changed +12
-14
lines changed
javascript/css/components Expand file tree Collapse file tree 5 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 18
18
<%= render Pages ::Header ::Container . new do |c | %>
19
19
<%= c . title { page . title } %>
20
20
<%= c . description { page . description } if page . description %>
21
- < div class ="flex flex-col lg:flex-row justify-between ">
22
- <%= render Pages ::Timestamp . new published_on : page . published_on , updated_on : page . revised_on , class : "text-small" %>
23
- < span class ="text-small ">
24
- <% topics = @page . topics . approved . pluck ( :slug ) %>
25
- <% if topics . present? %>
26
- <%= render Pages ::Topics . new ( topics : topics ) %>
27
- <% end %>
28
- </ span >
21
+ <%= render Pages ::Timestamp . new published_on : page . published_on , updated_on : page . revised_on , class : "text-small block" %>
22
+ < div class ="text-small ">
23
+ <% topics = @page . topics . approved . pluck ( :slug ) %>
24
+ <% if topics . present? %>
25
+ <%= render Pages ::Topics . new ( topics : topics ) %>
26
+ <% end %>
29
27
</ div >
30
28
<% end %>
31
29
< div class ="article-content container " itemprop ="articleBody ">
Original file line number Diff line number Diff line change 10
10
border-radius : 0.375rem ;
11
11
font-size : var (--step--1 );
12
12
font-weight : 700 ;
13
+ border : 1px solid transparent;
13
14
}
14
15
15
16
& .bar {
16
- border : 1px solid transparent;
17
17
background-color : var (--joy-poll-result-default );
18
18
position : absolute;
19
19
top : 0 ;
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ def content(**)
45
45
end
46
46
p ( class : "description" ) { description } if description
47
47
if published_on
48
- render Pages ::Timestamp . new published_on : published_on , class : "block"
48
+ render Pages ::Timestamp . new published_on : published_on , class : "text-small block"
49
49
end
50
- a ( href : request_path , class : "block uppercase strong " ) do
51
- small { "Read now" }
50
+ a ( href : request_path , class : "block uppercase text-small " ) do
51
+ "Read now"
52
52
end
53
53
end
54
54
end
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def view_template
35
35
} do |f |
36
36
div ( class : "flex items-center flex-row pl-2 col-gap-xs" ) do
37
37
svg_tag "icons/search.svg" , class : "w-[32px] fill-current text-theme"
38
- label ( for : "query" , class : "sr-only" ) { "Query" }
38
+ label ( for : combobox_dom_id , class : "sr-only" ) { "Query" }
39
39
whitespace
40
40
plain f . search_field :query ,
41
41
value : query ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def view_template
20
20
end
21
21
22
22
div ( class : "p-2" ) do
23
- p ( class : "text-small font-extrabold " ) { pluralize question . votes_count , "vote" }
23
+ p ( class : "text-small text-theme " ) { pluralize question . votes_count , "vote" }
24
24
end
25
25
end
26
26
end
You can’t perform that action at this time.
0 commit comments