From fd6cbff5817409e277e7c98a47c270b37b837d10 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 30 Sep 2013 17:09:08 -0700 Subject: [PATCH] /about/stylesheet: Remove "show default stylesheet" option. The main stylesheet is written in LESS now and so the raw CSS that's visible on site is not very human-readable nor is it terribly useful. --- r2/r2/public/static/css/reddit.less | 2 +- r2/r2/templates/subredditstylesheet.html | 50 +----------------------- 2 files changed, 3 insertions(+), 49 deletions(-) diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index cb08aa645..e8a682a7e 100755 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -3713,7 +3713,7 @@ ul#image-preview-list .description pre { .sheets { margin-right: 315px; } -.sheets .col { float: left; } +.sheets .col { width: 100%; } .sheets .col > div { margin: 0 5px; } .sheets .col textarea { width: 100% } .sheets .buttons { margin-left: 5px } diff --git a/r2/r2/templates/subredditstylesheet.html b/r2/r2/templates/subredditstylesheet.html index 0b1555305..fd0b7a7dd 100644 --- a/r2/r2/templates/subredditstylesheet.html +++ b/r2/r2/templates/subredditstylesheet.html @@ -45,7 +45,7 @@ ${error_field("TOO_LONG", "prevstyle")} ${error_field("BAD_REVISION", "prevstyle")}
-
+
-
-
-
- ${toggle_button("default-css", - _("show the default stylesheet"), - _("hide the default stylesheet"), - "showDefaultStylesheet", - "hideDefaultStylesheet")} - +