File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 118118 </div>
119119
120120 {{if $isHomepage}}
121- <div style="width: 25% ">
121+ <div class="flex-container-repo ">
122122 <form class="ignore-dirty tw-flex tw-flex-1 tw-mt-1" action="{{.RepoLink}}/search" method="get">
123123 <div class="ui small action input tw-flex-1">
124124 <input name="q" size="10" placeholder="{{ctx.Locale.Tr "search.code_kind"}}">
Original file line number Diff line number Diff line change 2121 min-width : 0 ; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
2222}
2323
24+ .flex-container-repo {
25+ width : 25% ;
26+ }
27+
2428@media (max-width : 767.98px ) {
2529 .flex-container {
2630 flex-direction : column;
3034 order : -1 ;
3135 width : auto;
3236 }
37+ .flex-container-repo {
38+ width : 100% ;
39+ }
3340}
You can’t perform that action at this time.
0 commit comments