Skip to content

Commit bbf06fc

Browse files
authored
Merge pull request #23 from DHTMLX/contact-support-button
[dev] add contact support button
2 parents 8fe0bc2 + cfe7fc5 commit bbf06fc

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

src/css/custom.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,22 @@ p {
220220
max-width: 100%;
221221
padding: 2px;
222222
}
223+
224+
/* styles for Contact Support component */
225+
226+
.contact-support-link-wrapper{
227+
display: flex;
228+
flex-direction: column;
229+
justify-content: start;
230+
align-items: start;
231+
gap: 0.5rem;
232+
margin: 1rem;
233+
}
234+
235+
.contact-support-link{
236+
font-size: var(--ifm-h4-font-size);
237+
font-weight: var(--ifm-heading-font-weight);
238+
text-align: center;
239+
}
240+
241+
/* end for Contact Support component */

src/theme/TOCItems/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import TOCItems from '@theme-original/TOCItems';
2+
3+
export default function TOCItemsWrapper(props) {
4+
return (
5+
<>
6+
<TOCItems {...props} />
7+
<div className="contact-support-link-wrapper">
8+
Need more help?
9+
<a
10+
href="https://dhtmlx.com/docs/technical-support.shtml"
11+
target="_blank"
12+
rel="noopener noreferrer"
13+
className="contact-support-link pagination-nav__link"
14+
>
15+
Contact Support
16+
</a>
17+
</div>
18+
</>
19+
);
20+
}

0 commit comments

Comments
 (0)