penpot/frontend/src/app/main/ui/components/editable_label.scss
Luis de Dios 1263ea11fa
🐛 Fix order of component menu options in assets tab (#7388)
* 🐛 Reorder component menu options in assets tab

* ♻️ Use new component syntax

* 📚 Add bugfix to changelog

* ♻️ Code restructuring and SCSS improvements
2025-10-01 17:00:27 +02:00

30 lines
789 B
SCSS

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC
@use "ds/_borders.scss" as *;
@use "ds/_sizes.scss" as *;
@use "ds/colors.scss" as *;
@use "ds/typography.scss" as t;
.editable-label-input {
@include t.use-typography("body-small");
outline: none;
width: 100%;
height: 100%;
margin: 0;
padding: 0 var(--sp-s);
border: $b-1 solid var(--color-accent-primary);
color: var(--color-foreground-primary);
background: var(--color-background-primary);
}
.editable-label-text {
@include t.use-typography("body-small");
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}