From 97425672ad145acaaabb3b2c59c8b7e8028476e0 Mon Sep 17 00:00:00 2001 From: Jeff Lunt Date: Sun, 3 Jun 2012 22:12:12 -0500 Subject: [PATCH] Closes #20 - Rather than trying to figure out some complicated algorithm for guaranteeing that content will always be displayed properly, I came up with a simple clipping scheme, combined with *always* showing the control to display the overlay. With this combination, users can always go to the larger view to see their content. --- app/views/thoughts/_controls_standard.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/thoughts/_controls_standard.haml b/app/views/thoughts/_controls_standard.haml index e7a35f2..3ed10ec 100644 --- a/app/views/thoughts/_controls_standard.haml +++ b/app/views/thoughts/_controls_standard.haml @@ -1,3 +1,3 @@ .thought-controls =link_to("\u270e", edit_thought_path(thought), {:remote => true}) - =link_to("\u25ff", thought, remote: true) if thought.text.length > 99 \ No newline at end of file + =link_to("\u25ff", thought, remote: true) \ No newline at end of file