-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
References #20 - Implemented better clipping via a CSS property, so t…
…ext doesn't vertically overflow any longer. However, if the content is less than 100 characters, I still won't give you the option to go to the overlay.
- Loading branch information
Showing
12 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
=render :partial => "thoughts/votes_overlay", :locals => {thought: thought} | ||
=render :partial => "thoughts/controls_overlay", :locals => {thought: thought} | ||
.thought-bottom-section-overlay | ||
=render :partial => "thoughts/votes_overlay", :locals => {thought: thought} | ||
=render :partial => "thoughts/controls_overlay", :locals => {thought: thought} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
=render :partial => "thoughts/votes_standard", :locals => {thought: thought} | ||
=render :partial => "thoughts/controls_standard", :locals => {thought: thought} | ||
.thought-bottom-section-standard | ||
=render :partial => "thoughts/votes_standard", :locals => {thought: thought} | ||
=render :partial => "thoughts/controls_standard", :locals => {thought: thought} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-is_new_thought ||= nil | ||
.thought-box{class: custom_styles(thought, is_new_thought), id: "thought-box-#{thought.id}"} | ||
.thought | ||
=simple_format(auto_link(truncate(thought.text, length: 99, :omission => ' ...'))) | ||
=simple_format(auto_link(thought.text)) | ||
=render :partial => "thoughts/bottom_section_standard", :locals => {thought: thought} |
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/application-42efb240b4740cbe772faeab8c9561cc.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
...tion-f908da3a7d7f6c2d927014e543b364c1.css → ...tion-eb8a37afd06b7a5142e455637662ccc4.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file removed
BIN
-839 Bytes
public/assets/application-f908da3a7d7f6c2d927014e543b364c1.css.gz
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters