Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2801)

Unified Diff: chrome/browser/resources/md_bookmarks/toast_manager.html

Issue 2917003003: [MD Bookmarks] Support elision of bookmark names in the bookmark toast. (Closed)
Patch Set: fix multiline Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_bookmarks/toast_manager.html
diff --git a/chrome/browser/resources/md_bookmarks/toast_manager.html b/chrome/browser/resources/md_bookmarks/toast_manager.html
index 44120044e2e0151ac7d26f4f507e8c13f3b79e02..77d4ae274115e446844103188d722253b4d368c3 100644
--- a/chrome/browser/resources/md_bookmarks/toast_manager.html
+++ b/chrome/browser/resources/md_bookmarks/toast_manager.html
@@ -7,6 +7,7 @@
<template>
<style include="shared-style">
#content {
+ display: flex;
flex: 1;
margin-right: 32px;
overflow: hidden;
@@ -23,6 +24,16 @@
padding: 8px;
}
+ .collapsible {
+ flex: 1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ span {
+ white-space: pre;
+ }
+
#toast {
align-items: center;
background-color: #323232;
« no previous file with comments | « chrome/browser/resources/md_bookmarks/command_manager.js ('k') | chrome/browser/resources/md_bookmarks/toast_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698