signal-desktop/stylesheets/components/AvatarTextEditor.scss

26 lines
502 B
SCSS
Raw Normal View History

2021-08-06 00:17:05 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.AvatarTextEditor {
&__input {
background: transparent;
border: none;
color: inherit;
outline: none;
padding: 0;
text-align: center;
text-transform: uppercase;
transition: font-size 30ms linear;
width: 100%;
}
&__measure {
2023-04-20 17:03:43 +00:00
inset-inline-start: -9999;
2021-08-06 00:17:05 +00:00
position: fixed;
text-transform: uppercase;
top: -9999;
touch-action: none;
visibility: hidden;
}
}