Polish calculator large number display
This commit is contained in:
parent
117b7b79e1
commit
4ec7955b25
3 changed files with 70 additions and 5 deletions
|
|
@ -5206,6 +5206,35 @@ button.combo-input-token.combo-value-grab .ui-icon {
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
.calculator-entry .tool-split-entry-summary > span {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: baseline;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.calculator-entry .tool-split-entry-summary strong,
|
||||
.calculator-entry .tool-split-entry-value strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calculator-entry .tool-split-entry-summary strong {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.calculator-entry .tool-split-entry-summary em {
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
color: var(--color-text-secondary);
|
||||
font-style: normal;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calculator-form label span,
|
||||
.calculator-result span,
|
||||
.tool-split-root-button {
|
||||
|
|
@ -5226,11 +5255,27 @@ button.combo-input-token.combo-value-grab .ui-icon {
|
|||
}
|
||||
|
||||
.calculator-result strong {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
color: var(--color-text-primary);
|
||||
font-size: clamp(1.55rem, 3vw, 2.15rem);
|
||||
font-weight: 900;
|
||||
line-height: 0.95;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calculator-result.is-long strong {
|
||||
font-size: 1.55rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.calculator-result.is-compact strong {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.table-module {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue