mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 02:03:44 +00:00
docs: Quick fix to Mendable Search (#2876)
Fixed a small issue on the icon UI when using in Safari.
This commit is contained in:
parent
1e9378d0a8
commit
3c7204d604
10
docs/_static/js/mendablesearch.js
vendored
10
docs/_static/js/mendablesearch.js
vendored
@ -21,9 +21,15 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
const { MendableFloatingButton } = Mendable;
|
const { MendableFloatingButton } = Mendable;
|
||||||
|
|
||||||
|
|
||||||
|
const iconSpan1 = React.createElement('span', {
|
||||||
|
}, '🦜');
|
||||||
|
|
||||||
|
const iconSpan2 = React.createElement('span', {
|
||||||
|
}, '🔗');
|
||||||
|
|
||||||
const icon = React.createElement('p', {
|
const icon = React.createElement('p', {
|
||||||
style: { color: '#ffffff', fontSize: '22px',width: '48px', height: '48px', margin: '0px', padding: '0px', display: 'flex', alignItems: 'center', justifyContent: 'center' },
|
style: { color: '#ffffff', fontSize: '22px',width: '48px', height: '48px', margin: '0px', padding: '0px', display: 'flex', alignItems: 'center', justifyContent: 'center', textAlign: 'center' },
|
||||||
}, '🦜🔗');
|
}, [iconSpan1, iconSpan2]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user