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
Merge requests
!109
Resolve "Implement background image"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Implement background image"
144-implement-background-image
into
dev
Overview
0
Commits
4
Pipelines
2
Changes
3
Merged
Albin Henriksson
requested to merge
144-implement-background-image
into
dev
3 years ago
Overview
0
Commits
4
Pipelines
2
Changes
3
Expand
Closes
#144 (closed)
0
0
Merge request reports
Viewing commit
baca4dfc
Prev
Next
Show latest version
3 files
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
baca4dfc
Fix broken components
· baca4dfc
Albin Henriksson
authored
3 years ago
client/src/pages/presentationEditor/components/BackgroundImageSelect.tsx
+
3
−
3
Options
@@ -9,7 +9,7 @@ import {
ImportedImage
,
SettingsList
,
ImageNameText
,
Background
ImageTextContainer
,
ImageTextContainer
,
}
from
'
./styled
'
import
CloseIcon
from
'
@material-ui/icons/Close
'
import
axios
from
'
axios
'
@@ -105,10 +105,10 @@ const BackgroundImageSelect = ({ variant }: BackgroundImageSelectProps) => {
{
backgroundImage
&&
(
<>
<
ListItem
divider
>
<
Background
ImageTextContainer
>
<
ImageTextContainer
>
<
ListItemText
>
Bakgrundsbild
</
ListItemText
>
<
Typography
variant
=
"body2"
>
(Bilden bör ha sidförhållande 16:9)
</
Typography
>
</
Background
ImageTextContainer
>
</
ImageTextContainer
>
</
ListItem
>
<
ListItem
divider
button
>
<
ImportedImage
src
=
{
`/static/images/thumbnail_
${
backgroundImage
.
filename
}
`
}
/>
Loading