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
b7374b2f
Commit
b7374b2f
authored
May 06, 2021
by
Anders Benjamin Clausen
👽
Browse files
Merge branch 'hotfix/mobile-layout-fix' into 'develop'
Hotfix/mobile layout fix See merge request
!23
parents
97ba83af
3b23b874
Pipeline
#52380
passed with stages
in 2 minutes and 46 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/components/blocks/BlockTemplate.vue
View file @
b7374b2f
...
...
@@ -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 @
b7374b2f
...
...
@@ -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/components/blocks/Deadlines.vue
View file @
b7374b2f
...
...
@@ -44,7 +44,7 @@ export default {
<
style
scoped
lang=
"scss"
>
.block
{
min-width
:
3
50px
;
min-width
:
2
50px
;
}
ul
{
...
...
website/studerende-dk/src/views/Home.vue
View file @
b7374b2f
...
...
@@ -367,6 +367,7 @@ export default {
}
},
},
mounted
(){
this
.
mobileLayoutResize
();
this
.
prevWinWidth
=
window
.
innerWidth
;
...
...
@@ -417,7 +418,7 @@ export default {
.row
{
display
:
flex
;
margin-bottom
:
$gap
/
2
;
margin-bottom
:
$gap
/
2
;
flex-direction
:
column
;
position
:
relative
;
min-height
:
150px
;
...
...
@@ -492,7 +493,7 @@ export default {
@media
only
screen
and
(
min-width
:
$mobile-width-cutoff
)
{
#grid
{
padding
:
$gap
;
padding
:
$gap
$gap
/
2
;
}
.row
{
...
...
@@ -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