mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Improve hovering behaviour for entries in mini mode.
This commit is contained in:
parent
3968761ac8
commit
1ed0ccf854
1 changed files with 6 additions and 2 deletions
|
@ -201,7 +201,7 @@
|
||||||
top: -(@review-off-width + @rp-entry-arrow-width);
|
top: -(@review-off-width + @rp-entry-arrow-width);
|
||||||
right: -(@review-off-width + @rp-entry-arrow-width);
|
right: -(@review-off-width + @rp-entry-arrow-width);
|
||||||
bottom: -(@review-off-width + @rp-entry-arrow-width);
|
bottom: -(@review-off-width + @rp-entry-arrow-width);
|
||||||
left: -(@review-off-width + @rp-entry-arrow-width);
|
left: -(2 * @rp-entry-arrow-width + 2);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
&::after {
|
&::after {
|
||||||
|
@ -218,6 +218,10 @@
|
||||||
border-right-width: @rp-entry-ribbon-width;
|
border-right-width: @rp-entry-ribbon-width;
|
||||||
border-right-style: solid;
|
border-right-style: solid;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
left: -(@review-off-width + @rp-entry-arrow-width);
|
||||||
|
right: -(2 * @rp-entry-arrow-width + 2);
|
||||||
|
}
|
||||||
&::after {
|
&::after {
|
||||||
.triangle(right, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit);
|
.triangle(right, @rp-entry-arrow-width, @rp-entry-arrow-width * 1.5, inherit);
|
||||||
right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);
|
right: -(@rp-entry-ribbon-width + @rp-entry-arrow-width);
|
||||||
|
|
Loading…
Reference in a new issue