signal-desktop/stylesheets/components/AvatarTextEditor.scss
2021-08-05 20:17:05 -04:00

25 lines
488 B
SCSS

// 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 {
left: -9999;
position: fixed;
text-transform: uppercase;
top: -9999;
touch-action: none;
visibility: hidden;
}
}