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
!163
Resolve "Fix image uploading bug"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Fix image uploading bug"
129-fix-image-uploading-bug
into
dev
Overview
0
Commits
4
Pipelines
1
Changes
1
Merged
Sebastian Karlsson
requested to merge
129-fix-image-uploading-bug
into
dev
3 years ago
Overview
0
Commits
4
Pipelines
1
Changes
1
Expand
Closes
#129 (closed)
0
0
Merge request reports
Viewing commit
f65c82bf
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f65c82bf
Fix bug where long filenames moved the close icon
· f65c82bf
Sebastian Karlsson
authored
4 years ago
out from the window
client/src/pages/presentationEditor/components/Images.tsx
+
5
−
1
Options
@@ -116,7 +116,11 @@ const Images = ({ activeSlide, competitionId }: ImagesProps) => {
<
ListItem
divider
button
>
<
ImportedImage
src
=
{
`http://localhost:5000/static/images/thumbnail_
${
image
.
data
.
filename
}
`
}
/>
<
Center
>
<
ListItemText
primary
=
{
image
.
data
.
filename
}
/>
<
ListItemText
primary
=
{
image
.
data
.
filename
.
length
>
25
?
image
.
data
.
filename
.
substr
(
0
,
24
)
+
'
...
'
:
image
.
data
.
filename
}
/>
</
Center
>
<
CloseIcon
onClick
=
{
()
=>
handleCloseimageClick
(
image
)
}
/>
</
ListItem
>
Loading