Skip to content

Commit

Permalink
Break long file name into multiple lines
Browse files Browse the repository at this point in the history
In the FormFile component, break a long file name into
multiple lines using the word-break CSS property. This
ensures that long file names are properly displayed
within their container without causing overflow issues.
Fixes #121

The word-break property will allow the text to wrap onto
the next line at any character, maintaining the layout
integrity and improving the user interface.

Change-Id: Id534dd4e8f7737a60483272f2fdd70deb7a8a002
Signed-off-by: Farah Rasheed <Farah.Rasheed1@dell.com>
  • Loading branch information
FarahRasheed1 authored and sivaprabug committed Jul 12, 2024
1 parent b8a2e70 commit 7f70832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Global/FormFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default {
display: flex;
align-items: center;
background-color: theme-color('light');
word-break: break-all; // break long file name into multiple lines
.btn {
width: 36px;
height: 36px;
Expand Down

0 comments on commit 7f70832

Please sign in to comment.