mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
Scrolling behaviour.
This commit is contained in:
parent
821e556dd3
commit
3595aff5e2
1 changed files with 35 additions and 27 deletions
|
@ -393,6 +393,8 @@ ul.project-list {
|
||||||
}
|
}
|
||||||
|
|
||||||
.announcements-body {
|
.announcements-body {
|
||||||
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 3%;
|
right: 3%;
|
||||||
margin-right: 95px;
|
margin-right: 95px;
|
||||||
|
@ -403,7 +405,6 @@ ul.project-list {
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
box-shadow: @announcements-shadow;
|
box-shadow: @announcements-shadow;
|
||||||
padding: @line-height-computed;
|
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
animation: fade-in 0.35s forwards;
|
animation: fade-in 0.35s forwards;
|
||||||
|
|
||||||
|
@ -417,9 +418,16 @@ ul.project-list {
|
||||||
text-shadow: @announcements-shadow;
|
text-shadow: @announcements-shadow;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-indent: -6px;
|
text-indent: -7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.announcements-scroller {
|
||||||
|
padding: @line-height-computed;
|
||||||
|
flex-grow: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
.announcement {
|
.announcement {
|
||||||
margin-bottom: @line-height-computed * 1.5;
|
margin-bottom: @line-height-computed * 1.5;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
|
Loading…
Reference in a new issue