Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion frontend/src/styles/test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
justify-content: flex-end;
gap: 0 1em;
flex-wrap: wrap;
white-space: nowrap;

.fas {
margin-left: 0.33em;
Expand Down Expand Up @@ -761,6 +762,13 @@
margin-bottom: 0.25rem;
display: flex;
align-items: center;

// for "input history" wrapping in screenshot for small screens
flex-wrap: wrap;

> span {
white-space: nowrap;
}
Comment on lines +765 to +771
Copy link
Contributor Author

@byseif21 byseif21 Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this to fix a prod bug where in small screen bottom class breaks out wrapper class cuz of title and makes the words history goes out "visual overflow" so we let it wrap and span "input history" word not to fix our ss bug

}
.words {
display: flex;
Expand Down Expand Up @@ -800,7 +808,7 @@
}
&.withLigatures {
.word {
overflow-wrap: anywhere;
//overflow-wrap: anywhere;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaks words at arbitrary letters,
I don’t see a valid use for internal word breaking here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the word gets longer than the words wrapper width?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i see in custom it's not limited hmm

padding-bottom: 2px; // compensate for letter border

.hints {
Expand Down Expand Up @@ -1005,6 +1013,7 @@
font-size: 1rem;
line-height: 1rem;
margin-bottom: 0.25rem;
white-space: nowrap;
}

.bottom {
Expand Down