diff app/assets/stylesheets/pastes.css @ 145:f390e3903d3c

Limit box-sizing border-box to paste_paste. Kinda break bootstrap otherwise.
author Edho Arief <edho@myconan.net>
date Sun, 18 Nov 2012 00:29:48 +0700
parents 50b8738d6428
children 720ef40cb4bb
line wrap: on
line diff
--- a/app/assets/stylesheets/pastes.css	Sat Nov 17 13:03:09 2012 +0700
+++ b/app/assets/stylesheets/pastes.css	Sun Nov 18 00:29:48 2012 +0700
@@ -1,4 +1,7 @@
 textarea#paste_paste, .mirrored_text {
   font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
   resize: none;
+  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
+  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
+  box-sizing: border-box;         /* Opera/IE 8+ */
 }