Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EXSYS2021
da6
Hold Afstand
Commits
d6319d73
Commit
d6319d73
authored
May 11, 2021
by
Kent Nielsen
Browse files
Hotfix resize of 1 row
parent
09b6babb
Pipeline
#52991
passed with stages
in 2 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/views/Home.vue
View file @
d6319d73
...
...
@@ -305,7 +305,7 @@ export default {
resizeVertical
(
event
,
index
)
{
const
mobileMode
=
window
.
innerWidth
<
992
;
if
(
index
==
0
||
this
.
deleting
||
mobileMode
)
if
(
(
index
==
0
&&
this
.
layout
.
length
!=
1
)
||
this
.
deleting
||
mobileMode
)
return
;
const
clickTarget
=
event
.
target
;
...
...
@@ -317,6 +317,9 @@ export default {
else
index
--
;
if
(
index
<
0
)
return
;
this
.
mouseDragPos
.
y
=
event
.
y
;
this
.
verticalResizeObject
.
index
=
index
;
document
.
addEventListener
(
"
mousemove
"
,
this
.
resizeVerticalMouseMove
,
false
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment