1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(kubeconfig): update button and modal styles (#7481)

EE-3947
This commit is contained in:
Ali 2022-08-17 14:01:04 +06:00 committed by GitHub
parent cee241e77c
commit d85149e328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 51 deletions

View file

@ -1,15 +0,0 @@
.searchBar {
padding: 8px;
border: 1px solid var(--border-color);
border-radius: 5px;
}
.searchBar .iconSpan {
display: inline-block;
margin-right: 5px;
}
.searchBar .textSpan {
display: inline-block;
width: 90%;
}

View file

@ -1,6 +1,6 @@
import { useLocalStorage } from '@/portainer/hooks/useLocalStorage';
import { Search } from 'react-feather';
import styles from './FilterSearchBar.module.css';
import { useLocalStorage } from '@/portainer/hooks/useLocalStorage';
interface Props {
value: string;
@ -14,19 +14,16 @@ export function FilterSearchBar({
onChange,
}: Props) {
return (
<div className={styles.searchBar}>
<span className={styles.iconSpan}>
<i className="fa fa-search" aria-hidden="true" />
</span>
<span className={styles.textSpan}>
<input
type="text"
className="searchInput"
value={value}
onChange={(e) => onChange(e.target.value)}
placeholder={placeholder}
/>
</span>
<div className="searchBar items-center flex h-[34px]">
<Search className="searchIcon feather" />
<input
type="text"
className="searchInput"
value={value}
onChange={(e) => onChange(e.target.value)}
placeholder={placeholder}
data-cy="home-environmentSearch"
/>
</div>
);
}