mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
[lexical-playground] Bug Fix: Stabilize text format dropdown width in toolbar (#7462)
This commit is contained in:
@ -1803,3 +1803,17 @@ button.item.dropdown-item-active i {
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toolbar .block-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.toolbar .block-controls .dropdown-button-text {
|
||||
width: 7em;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user