Skip to content

Commit

Permalink
set email preview width in css
Browse files Browse the repository at this point in the history
  • Loading branch information
jorsn committed Jun 4, 2024
1 parent 88352dc commit 179587d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modes/thread_view/page_client.hh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace Astroid {
ustring get_attachment_thumbnail (refptr<Chunk>);
ustring get_attachment_data (refptr<Chunk>);

static const int MAX_PREVIEW_LEN = 80;
static const int MAX_PREVIEW_LEN = 200;
static const int THUMBNAIL_WIDTH = 150; // px
static const int ATTACHMENT_ICON_WIDTH = 35;
refptr<Gdk::Pixbuf> attachment_icon;
Expand Down
1 change: 1 addition & 0 deletions ui/thread-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ hr {
text-overflow: ellipsis;
overflow: hidden;
margin-left: 48px;
//max-width: 80ex; // old behavior
}

.email_container .header_container .tags {
Expand Down

0 comments on commit 179587d

Please sign in to comment.