mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 10:12:06 +03:00
parent
898c037df0
commit
32eb1819aa
@ -1,17 +0,0 @@
|
|||||||
header {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold !important;
|
|
||||||
padding-right: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filterissue-container {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: flex-start;
|
|
||||||
justify-content: left;
|
|
||||||
}
|
|
@ -16,8 +16,6 @@ import FilterToolbar from './FilterToolbar';
|
|||||||
import List from './List';
|
import List from './List';
|
||||||
import { useListBugsQuery } from './ListQuery.generated';
|
import { useListBugsQuery } from './ListQuery.generated';
|
||||||
|
|
||||||
import './ListQuery.css';
|
|
||||||
|
|
||||||
type StylesProps = { searching?: boolean };
|
type StylesProps = { searching?: boolean };
|
||||||
const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
|
const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
|
||||||
main: {
|
main: {
|
||||||
@ -43,6 +41,17 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
},
|
},
|
||||||
|
filterissueLabel: {
|
||||||
|
fontSize: '14px',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
paddingRight: '12px',
|
||||||
|
},
|
||||||
|
filterissueContainer: {
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'row',
|
||||||
|
alignItems: 'flex-start',
|
||||||
|
justifyContents: 'left',
|
||||||
|
},
|
||||||
search: {
|
search: {
|
||||||
borderRadius: theme.shape.borderRadius,
|
borderRadius: theme.shape.borderRadius,
|
||||||
borderColor: fade(theme.palette.primary.main, 0.2),
|
borderColor: fade(theme.palette.primary.main, 0.2),
|
||||||
@ -98,7 +107,7 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
|
|||||||
padding: theme.spacing(2, 3),
|
padding: theme.spacing(2, 3),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
gitbugButton: {
|
greenButton: {
|
||||||
backgroundColor: '#2ea44fd9',
|
backgroundColor: '#2ea44fd9',
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
@ -281,9 +290,11 @@ function ListQuery() {
|
|||||||
return (
|
return (
|
||||||
<Paper className={classes.main}>
|
<Paper className={classes.main}>
|
||||||
<header className={classes.header}>
|
<header className={classes.header}>
|
||||||
<div className="filterissue-container">
|
<div className="filterissueContainer">
|
||||||
<form onSubmit={formSubmit}>
|
<form onSubmit={formSubmit}>
|
||||||
<label htmlFor="issuefilter">Filter</label>
|
<label className={classes.filterissueLabel} htmlFor="issuefilter">
|
||||||
|
Filter
|
||||||
|
</label>
|
||||||
<InputBase
|
<InputBase
|
||||||
id="issuefilter"
|
id="issuefilter"
|
||||||
placeholder="Filter"
|
placeholder="Filter"
|
||||||
@ -299,11 +310,7 @@ function ListQuery() {
|
|||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button className={classes.greenButton} variant="contained" href="/new">
|
||||||
className={classes.gitbugButton}
|
|
||||||
variant="contained"
|
|
||||||
href="/new"
|
|
||||||
>
|
|
||||||
New issue
|
New issue
|
||||||
</Button>
|
</Button>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user