diff options
Diffstat (limited to 'webui/src/pages/list')
-rw-r--r-- | webui/src/pages/list/ListQuery.css | 20 | ||||
-rw-r--r-- | webui/src/pages/list/ListQuery.tsx | 6 |
2 files changed, 3 insertions, 23 deletions
diff --git a/webui/src/pages/list/ListQuery.css b/webui/src/pages/list/ListQuery.css index 36d94289..4f7abaf3 100644 --- a/webui/src/pages/list/ListQuery.css +++ b/webui/src/pages/list/ListQuery.css @@ -14,24 +14,4 @@ label { flex-direction: row; align-items: flex-start; justify-content: left; -} - -.bt-new-issue { - background-color: #2ea44fd9; - border: 1px solid; - border-color: #1b1f2326; - border-radius: 6px; - padding: 6px 12px; - - font-size: 14px; - color: #ffffff; - line-height: 20px; - text-decoration: none; - - transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1); -} - -.bt-new-issue:hover { - background-color: #2ea44f; - border-color: #1b1f2326; }
\ No newline at end of file diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx index b135827f..099adcd8 100644 --- a/webui/src/pages/list/ListQuery.tsx +++ b/webui/src/pages/list/ListQuery.tsx @@ -11,6 +11,8 @@ import KeyboardArrowLeft from '@material-ui/icons/KeyboardArrowLeft'; import KeyboardArrowRight from '@material-ui/icons/KeyboardArrowRight'; import Skeleton from '@material-ui/lab/Skeleton'; +import GBButton from 'src/components/Button/GBButton'; + import FilterToolbar from './FilterToolbar'; import List from './List'; import { useListBugsQuery } from './ListQuery.generated'; @@ -291,9 +293,7 @@ function ListQuery() { </button> </form> </div> - <Link to="/newIssue" className="bt-new-issue"> - New Issue - </Link> + <GBButton to="/new" text="New Issue" /> </header> <FilterToolbar query={query} queryLocation={queryLocation} /> {content} |