/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ .link-editor { display: flex; z-index: 10; max-width: 400px; width: 100%; background-color: #fff; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border-radius: 8px; transition: opacity 0.5s; will-change: transform; } .link-editor .button { width: 20px; height: 20px; display: inline-block; padding: 6px; border-radius: 8px; cursor: pointer; margin: 0 2px; } .link-editor .button.hovered { width: 20px; height: 20px; display: inline-block; background-color: #eee; } .link-editor .button i, .actions i { background-size: contain; display: inline-block; height: 20px; width: 20px; vertical-align: -0.25em; }