Skip to content

Commit

Permalink
Merge pull request #87 from pshenmic/bugfix/text-wrap-in-list
Browse files Browse the repository at this point in the history
Fix text wrap styles
  • Loading branch information
pshenmic authored Nov 23, 2023
2 parents f373c76 + ca2a828 commit 92e30b7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/components/blocks/BlocksListItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@

&__Timestamp {
margin-right: 16px;
text-wrap: nowrap;
white-space: nowrap;
}

&__Txs {
margin-left: 12px;
text-wrap: nowrap;
white-space: nowrap;
}


Expand Down Expand Up @@ -59,7 +59,7 @@

@media screen and (max-width: 400px) {
&__Timestamp {
text-wrap: wrap;
white-space: wrap;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

&__Timestamp {
text-wrap: nowrap;
white-space: nowrap;
}

.DataContractsList--SizeS &,
Expand All @@ -34,7 +34,7 @@
}

&__Timestamp {
text-wrap: wrap;
white-space: wrap;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

&__Identifier {
word-wrap: break-word;
text-wrap: wrap;
white-space: wrap;
word-break: break-all;
font-family: monospace;
font-size: 12pt;
Expand All @@ -18,7 +18,7 @@
}

&__Timestamp {
text-wrap: nowrap;
white-space: nowrap;
}

.DocumentsList--SizeM & {
Expand All @@ -35,7 +35,7 @@
}

&__Timestamp {
text-wrap: wrap;
white-space: wrap;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

&__Timestamp {
text-wrap: nowrap;
white-space: nowrap;
}

@media screen and (max-width: $breakpoint-sm) {
Expand All @@ -26,7 +26,7 @@
}

&__Timestamp {
text-wrap: wrap;
white-space: wrap;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

&__Timestamp {
margin-right: 16px;
text-wrap: nowrap;
white-space: nowrap;
}

&__Identifier {
Expand Down Expand Up @@ -57,4 +57,10 @@
width: 100%;
}
}

@media screen and (max-width: $breakpoint-sm) {
&__Timestamp {
white-space: wrap;
}
}
}

0 comments on commit 92e30b7

Please sign in to comment.