Skip to content

Commit bffd116

Browse files
committed
FIX #631
1 parent 3e93e8e commit bffd116

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

daikoku/javascript/src/components/adminbackoffice/tenants/TenantStyleEdit.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useContext, useEffect, useRef, useState } from 'react';
55
import { SketchPicker } from 'react-color';
66
import { toastr } from 'react-redux-toastr';
77
import { useLocation, useNavigate, useParams } from 'react-router-dom';
8+
import XCircle from 'react-feather/dist/icons/x-circle'
89

910
import * as Services from '../../../services';
1011
import { Can, manage, Option, tenant as TENANT } from '../../utils';
@@ -243,6 +244,7 @@ const ColorPicker = ({
243244
popover: {
244245
position: 'absolute',
245246
zIndex: '2',
247+
top: '0'
246248
},
247249
cover: {
248250
position: 'fixed',
@@ -280,7 +282,9 @@ const ColorPicker = ({
280282
<div style={{
281283
position: 'absolute',
282284
zIndex: '2',
283-
}}>x
285+
top: '0'
286+
}}>
287+
<XCircle style={{position: 'relative', top: '12px', right: '12px', cursor: 'pointer', backgroundColor: '#fff'}}/>
284288
<div style={{
285289
position: 'fixed',
286290
top: '0px',

daikoku/javascript/src/components/utils/sidebar/companions/Companion.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { useState, useEffect, useContext } from 'react';
22
import classNames from 'classnames';
3-
import { ChevronLeft, ChevronRight } from 'react-feather';
3+
import ChevronLeft from 'react-feather/dist/icons/chevron-left'
4+
import ChevronRight from 'react-feather/dist/icons/chevron-right'
45
import { Link } from 'react-router-dom';
56

67
import { state } from '..';

0 commit comments

Comments
 (0)