mirror of
https://github.com/penpot/penpot.git
synced 2026-07-29 09:26:14 +00:00
🐛 Improved layout of share link button
This commit is contained in:
parent
334830b826
commit
464c19bf39
@ -213,6 +213,20 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
|
&:before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
width: 50%;
|
||||||
|
background: linear-gradient(45deg, transparent, #ffffff);
|
||||||
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
margin-left: 50%;
|
||||||
|
}
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: relative;
|
||||||
color: $color-gray-50;
|
color: $color-gray-50;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
user-select: all;
|
user-select: all;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user