Skip to content

Commit

Permalink
Fix Chinese line break problem (#62)
Browse files Browse the repository at this point in the history
When some buttons are described in Chinese, the shape of the button
will change due to word wrapping.

Signed-off-by: George Liu <[email protected]>

Signed-off-by: George Liu <[email protected]>
  • Loading branch information
lxwinspur authored and rfrandse committed Jun 25, 2024
1 parent ede02cd commit f5033af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/env/assets/styles/_ibm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,8 @@ $loading-color-100: #2dbde5;
border-bottom: 1px solid #3ac4bf;
border-color: #3ac4bf;
border: 1px solid #3ac4bf !important;
}

.activationBtn {
white-space: nowrap;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
</b-form-invalid-feedback>
</b-input-group>
</b-form-group>
<b-col align-self="baseline">
<b-col sm="2" align-self="baseline">
<b-button
class="activationBtn"
variant="primary"
type="submit"
:disabled="isActivationDisabled"
Expand Down

0 comments on commit f5033af

Please sign in to comment.