From 18ea0e0ea726114b82161118d3e46bc0f11a90df Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 13 Jun 2013 10:59:27 +0300 Subject: [PATCH] Prevent overflow of comment code in event body. Add border-radius to highlight code inside note body --- app/assets/stylesheets/sections/events.scss | 1 + app/assets/stylesheets/sections/notes.scss | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss index e8680dd..d057bcf 100644 --- a/app/assets/stylesheets/sections/events.scss +++ b/app/assets/stylesheets/sections/events.scss @@ -58,6 +58,7 @@ background: #f9f9f9; border-radius: 0; color: #555; + margin: 0 20px; } .note-file-attach { diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index 9fe7a24..d4bb487 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -92,6 +92,10 @@ ul.notes { .note-body { @include md-typography; margin-left: 45px; + + .highlight { + @include border-radius(4px); + } } .note-header { padding-bottom: 5px; -- libgit2 0.21.2