Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Commits
df706284
Commit
df706284
authored
3 years ago
by
Albin Henriksson
Browse files
Options
Downloads
Patches
Plain Diff
Improve styling of quit button
parent
0a9db5c9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#45650
failed
3 years ago
Stage: setup
Stage: test
Stage: report
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/src/pages/views/OperatorViewPage.tsx
+2
-2
2 additions, 2 deletions
client/src/pages/views/OperatorViewPage.tsx
client/src/pages/views/styled.tsx
+2
-5
2 additions, 5 deletions
client/src/pages/views/styled.tsx
with
4 additions
and
7 deletions
client/src/pages/views/OperatorViewPage.tsx
+
2
−
2
View file @
df706284
...
...
@@ -16,9 +16,9 @@ import {
Typography
,
}
from
'
@material-ui/core
'
import
AssignmentIcon
from
'
@material-ui/icons/Assignment
'
import
BackspaceIcon
from
'
@material-ui/icons/Backspace
'
import
ChevronLeftIcon
from
'
@material-ui/icons/ChevronLeft
'
import
ChevronRightIcon
from
'
@material-ui/icons/ChevronRight
'
import
CloseIcon
from
'
@material-ui/icons/Close
'
import
FileCopyIcon
from
'
@material-ui/icons/FileCopy
'
import
LinkIcon
from
'
@material-ui/icons/Link
'
import
SupervisorAccountIcon
from
'
@material-ui/icons/SupervisorAccount
'
...
...
@@ -249,7 +249,7 @@ const OperatorViewPage: React.FC = () => {
<
OperatorHeader
color
=
"primary"
position
=
"fixed"
>
<
Tooltip
title
=
"Avsluta tävling"
arrow
>
<
OperatorQuitButton
onClick
=
{
handleVerifyExit
}
variant
=
"contained"
color
=
"secondary"
>
<
Backspac
eIcon
fontSize
=
"
small
"
/>
<
Clos
eIcon
fontSize
=
"
large
"
/>
</
OperatorQuitButton
>
</
Tooltip
>
...
...
This diff is collapsed.
Click to expand it.
client/src/pages/views/styled.tsx
+
2
−
5
View file @
df706284
...
...
@@ -57,11 +57,8 @@ export const OperatorFooter = styled(AppBar)`
`
export
const
OperatorQuitButton
=
styled
(
Button
)
`
min-width: 48px;
min-height: 48px;
padding-top: 16px;
padding-bottom: 16px;
margin-left: 8px;
height: 100%;
padding: 0;
`
export
const
OperatorButton
=
styled
(
Button
)
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment