Fixed the More Works popup on mobile view
This commit is contained in:
parent
cdaa0cda9b
commit
f6666f0bf8
@ -663,19 +663,18 @@ code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.more-works-container {
|
.more-works-container {
|
||||||
position: relative;
|
position: fixed;
|
||||||
top: auto;
|
top: 1rem;
|
||||||
right: auto;
|
right: 1rem;
|
||||||
margin: 1rem auto;
|
z-index: 1000;
|
||||||
display: block;
|
|
||||||
width: fit-content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-works-dropdown {
|
.more-works-dropdown {
|
||||||
position: relative;
|
position: absolute;
|
||||||
top: 0.5rem;
|
top: calc(100% + 0.5rem);
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 100%;
|
width: calc(100vw - 2rem);
|
||||||
|
max-width: 90vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-block {
|
.link-block {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user