Merge "Wrap file names into multiple lines if its too long"

This commit is contained in:
Tao Zhou
2019-12-06 14:17:55 +00:00
committed by Gerrit Code Review

View File

@@ -116,6 +116,9 @@ limitations under the License.
cursor: pointer; cursor: pointer;
flex: 1; flex: 1;
text-decoration: none; text-decoration: none;
/* Wrap it into multiple lines if too long. */
white-space: normal;
word-break: break-word;
} }
.path:hover :first-child { .path:hover :first-child {
text-decoration: underline; text-decoration: underline;
@@ -197,10 +200,6 @@ limitations under the License.
.truncatedFileName { .truncatedFileName {
display: none; display: none;
} }
.expanded .fullFileName {
white-space: normal;
word-wrap: break-word;
}
.mobile { .mobile {
display: none; display: none;
} }
@@ -247,7 +246,9 @@ limitations under the License.
margin: -2px 0; margin: -2px 0;
padding: var(--spacing-s) 0; padding: var(--spacing-s) 0;
} }
@media screen and (max-width: 50em) {
/** small screen breakpoint: 768px */
@media screen and (max-width: 55em) {
.desktop { .desktop {
display: none; display: none;
} }