Skip to content

Commit 7f70832

Browse files
FarahRasheed1sivaprabug
authored andcommitted
Break long file name into multiple lines
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 <[email protected]>
1 parent b8a2e70 commit 7f70832

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Global/FormFile.vue

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default {
107107
display: flex;
108108
align-items: center;
109109
background-color: theme-color('light');
110+
word-break: break-all; // break long file name into multiple lines
110111
.btn {
111112
width: 36px;
112113
height: 36px;

0 commit comments

Comments
 (0)