Skip to content

Commit

Permalink
Merge pull request galaxyproject#18306 from itisAliRH/modal-title-bre…
Browse files Browse the repository at this point in the history
…ak-word

[24.1] Fix word bleeding in modals, sharing page and history rename
  • Loading branch information
mvdbeek authored Jun 6, 2024
2 parents fcc5eb5 + 4eed454 commit 657ff96
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions client/src/components/Common/Heading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ const element = computed(() => {
<style lang="scss" scoped>
@import "scss/theme/blue.scss";
.heading {
word-break: break-all;
}
.heading:deep(svg) {
font-size: 0.75em;
}
Expand Down
4 changes: 4 additions & 0 deletions client/src/components/Form/_form-elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
word-wrap: break-word;
font-weight: bold;

.ui-form-title-text {
word-break: break-all;
}

.ui-form-title-message {
font-size: $font-size-base * 0.7;
font-weight: 300;
Expand Down
6 changes: 2 additions & 4 deletions client/src/components/Sharing/EditableUrl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ function onCopyOut() {
@import "theme/blue.scss";
.editable-url {
height: 1.5rem;
display: flex;
align-items: center;
gap: 0.25rem;
word-break: break-all;
}
.inline-icon-button:disabled:hover {
background-color: $brand-secondary;
color: unset;
Expand Down
4 changes: 4 additions & 0 deletions client/src/style/scss/overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ button {
overflow: auto;
}

.modal-title {
word-break: break-all;
}

// Tabs -- border color is hardcoded in navs.scss, change to $btnBorder here

.nav-tabs {
Expand Down

0 comments on commit 657ff96

Please sign in to comment.