mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 23:43:42 +00:00
e91fa307d0
By default, the z-index of the toggle button is above the z-index of the sidebar on mobile devices. This fix tweaks the z-index so that it remains below the sidebar while it's open.
37 lines
620 B
CSS
37 lines
620 B
CSS
.wall-item-body-toggle {
|
|
width: 100%;
|
|
text-align: center;
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0), #f6f6f6);
|
|
cursor: pointer;
|
|
height: 50px;
|
|
position: absolute;
|
|
top: auto;
|
|
bottom: 0;
|
|
z-index: 9;
|
|
left: 0;
|
|
display: none;
|
|
}
|
|
|
|
.wall-item-body-toggle-text {
|
|
width: 100%;
|
|
position: absolute;
|
|
top: auto;
|
|
bottom: 0;
|
|
z-index: 12;
|
|
left: 0;
|
|
text-shadow: 0 0 5px #f6f6f6;
|
|
font-weight: bold;
|
|
background: none !important;
|
|
border: none;
|
|
padding: 0 !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wall-item-body-toggle-text:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wall-item-body {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|