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
776ed091
Commit
776ed091
authored
May 06, 2021
by
Lasse Overgaard Møldrup
Browse files
Cannot move in mobile mode
parent
97ba83af
Changes
3
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/components/blocks/BlockTemplate.vue
View file @
776ed091
...
...
@@ -32,7 +32,7 @@ export default {
.heading
{
color
:
$lightest-theme-color
;
background-color
:
$theme-color
;
cursor
:
mov
e
;
pointer-events
:
non
e
;
h2
{
padding
:
10px
$padding
;
...
...
@@ -65,4 +65,11 @@ export default {
margin-right
:
-
$padding
;
margin-bottom
:
0
;
}
@media
only
screen
and
(
min-width
:
$mobile-width-cutoff
)
{
.heading
{
cursor
:
move
;
pointer-events
:
auto
;
}
}
</
style
>
\ No newline at end of file
website/studerende-dk/src/components/blocks/Calendar.vue
View file @
776ed091
...
...
@@ -289,7 +289,7 @@ export default {
thead
{
border
:
0
;
cursor
:
mov
e
;
pointer-events
:
non
e
;
tr
{
&
:first-of-type
{
...
...
@@ -398,6 +398,10 @@ export default {
box-shadow
:
1px
1px
3px
black
;
}
}
#leftButton
,
#rightButton
{
pointer-events
:
auto
;
}
#rightButton
{
float
:
right
;
...
...
@@ -454,4 +458,11 @@ export default {
}
}
}
@media
only
screen
and
(
min-width
:
$mobile-width-cutoff
)
{
thead
{
cursor
:
move
;
pointer-events
:
auto
!
important
;
}
}
</
style
>
website/studerende-dk/src/views/Home.vue
View file @
776ed091
...
...
@@ -367,6 +367,7 @@ export default {
}
},
},
mounted
(){
this
.
mobileLayoutResize
();
this
.
prevWinWidth
=
window
.
innerWidth
;
...
...
@@ -528,13 +529,13 @@ export default {
// Must be outside ".row" or else after affect children
.
row
:
:
after
{
content
:
" "
;
background-color
:
rgba
(
0
,
0
,
0
,
0
);
position
:
absolute
;
bottom
:
-
$gap
;
width
:
100%
;
height
:
$gap
;
cursor
:
n-resize
;
content
:
" "
;
background-color
:
rgba
(
0
,
0
,
0
,
0
);
position
:
absolute
;
bottom
:
-
$gap
;
width
:
100%
;
height
:
$gap
;
cursor
:
n-resize
;
}
}
</
style
>
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