Skip to content

Commit 982f8af

Browse files
authored
Merge pull request #1324 from Timo-Breumelhof/feature/1281-Search-Text-Mobile
FIX: hide search text mobile
2 parents 575e3b9 + 832e3c7 commit 982f8af

File tree

12 files changed

+42
-6
lines changed

12 files changed

+42
-6
lines changed

Dnn.CommunityForums/config/templates/ToolbarSearchPopup.ascx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="dcf-quick-search aftb-search" data-searchurl="[AF:TB:SearchURL]">
1919
<span class="dcf-search-link aftb-search-link">
2020
<span>
21-
<i class="fa fa-search fa-fw fa-blue"></i>&nbsp;[AF:TB:SearchText]
21+
<i class="fa fa-search fa-fw fa-blue"></i><span class="dcf-search-link-text">[AF:TB:SearchText]</span>
2222
</span>
2323
<span class="ui-icon ui-icon-triangle-1-s"></span>
2424
</span>

Dnn.CommunityForums/themes/community-bootstrap/_src/scss/parts/_toolbar.scss

+9
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
cursor: pointer;
6565
}
6666

67+
// Hide search text on mobile
68+
.dcf-search-link-text{
69+
display:none;
70+
@media screen and (min-width: $break-tablet){
71+
display:inline;
72+
margin-left: 0.2em;
73+
}
74+
}
75+
6776
.dcf-search-popup {
6877
background: white;
6978
border: solid 1px #eee;

Dnn.CommunityForums/themes/community-bootstrap/_src/scss/theme.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
@import "parts/_topics-view.scss";
1717
@import "parts/_topic-view.scss";
1818

19-
}
19+
}
Binary file not shown.

Dnn.CommunityForums/themes/community-bootstrap/theme.css

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dnn.CommunityForums/themes/community-bootstrap/theme.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dnn.CommunityForums/themes/community-bootstrap/theme.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dnn.CommunityForums/themes/community-default/_src/less/parts/_toolbar.less

+9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@
7070
cursor: pointer;
7171
}
7272

73+
// Hide search text on mobile
74+
.dcf-search-link-text{
75+
display:none;
76+
@media screen and (min-width: @break-tablet){
77+
display:inline;
78+
margin-left: 0.2em;
79+
}
80+
}
81+
7382
.dcf-search-popup {
7483
background: white;
7584
border: solid 1px #eee;
Binary file not shown.

Dnn.CommunityForums/themes/community-default/theme.css

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dnn.CommunityForums/themes/community-default/theme.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dnn.CommunityForums/themes/community-default/theme.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)