Skip to content

Commit

Permalink
max width 100 unless xs to keep desktop view the same
Browse files Browse the repository at this point in the history
  • Loading branch information
kianamcc committed Mar 3, 2025
1 parent 25a3c62 commit a8dec37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void setEntity(final EntityHeader entityHeader) {
entityAnchor.addClickHandler(STANDARD_CLICKHANDLER);
entityAnchor.setText(entityHeader.getName());
entityAnchor.addStyleName(
"text-align-left text-overflow-ellipsis inline-block whitespace-nowrap overflowHidden"
"text-align-left text-overflow-ellipsis inline-block whitespace-nowrap overflowHidden max-width-100-unless-xs"
);
entityAnchor.setHref("/Synapse:" + entityHeader.getId());
entityAnchor
Expand Down
3 changes: 3 additions & 0 deletions src/main/webapp/sass/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2501,6 +2501,9 @@ i.fa.small-icon {
.min-width-200-unless-xs {
min-width: 200px;
}
.max-width-100-unless-xs {
max-width: 100%;
}
}
@media (max-width: 500px) {
.hidden-xxs {
Expand Down

0 comments on commit a8dec37

Please sign in to comment.