-
-
Notifications
You must be signed in to change notification settings - Fork 941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAK-50368 Discussions and Dropbox improve ui responsiveness #12792
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ | |
vertical-align: middle !important; | ||
text-align:left !important; | ||
} | ||
.table td{ | ||
text-indent: 0em !important; | ||
} | ||
.table .attach { | ||
width:1%; | ||
white-space:nowrap; | ||
|
@@ -17,10 +20,13 @@ | |
} | ||
.truncate{ | ||
width: 180px; | ||
white-space: nowrap; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
.text-truncate{ | ||
white-space: normal !important; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hi @Sharadhi98 is it possible to avoid using !important and rely on specificity? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note that text-truncate is a bootstrap class. i don't think it makes sense to override Bootstrap like this. if you don't like the use of text-truncate, the use of the class should be removed/altered. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your comment. I will go through the code and try to avoid !important. |
||
} | ||
.popover-content { | ||
text-indent: 0; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't understand this change. where is a text-indent being applied?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the "List of Dropboxes" table within the student view, there was an inline CSS code for text-indent: 1 em. I had to override that by adding !important. I have attached two screenshots with and without the text-indent for your reference.