mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Better handling of formatting in pasted text
This commit is contained in:
@@ -49,22 +49,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&--spoiler--copy-target {
|
||||
// We don't want this thing to affect the layout of the message
|
||||
position: absolute;
|
||||
top: 0;
|
||||
// We can use left here; this is not visible to the user
|
||||
/* stylelint-disable liberty/use-logical-spec */
|
||||
left: 0;
|
||||
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
|
||||
// Hide text
|
||||
color: transparent;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Note: This is referenced in formatting/matchers.ts, to detect these styles on paste
|
||||
&--spoiler--noninteractive {
|
||||
cursor: inherit;
|
||||
|
||||
Reference in New Issue
Block a user