1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Remove width restrictions for remarup code blocks

Summary:
Currently, code blocks inside Phabricator remarkup are constrained to ~80col. There's no technical or design reason for this -- it looks and works fine without the restriction. Join the new world of fluid widths.

(Note that //inline// comments can get a bit whacky in some cases with large code blocks, but we have no restrictions there currently, so this doesn't break anything.)

Test Plan: {F26814}

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2005

Differential Revision: https://secure.phabricator.com/D4135
This commit is contained in:
epriestley 2012-12-09 12:21:13 -08:00
parent f5c2a2ab4b
commit 6edd668975
2 changed files with 17 additions and 22 deletions

View file

@ -794,7 +794,7 @@ celerity_register_resource_map(array(
),
'differential-revision-comment-css' =>
array(
'uri' => '/res/5e613a7f/rsrc/css/application/differential/revision-comment.css',
'uri' => '/res/3e402336/rsrc/css/application/differential/revision-comment.css',
'type' => 'css',
'requires' =>
array(
@ -3293,7 +3293,7 @@ celerity_register_resource_map(array(
'uri' => '/res/pkg/3c5efda9/darkconsole.pkg.js',
'type' => 'js',
),
'c904bbee' =>
'99f819b9' =>
array(
'name' => 'differential.pkg.css',
'symbols' =>
@ -3313,7 +3313,7 @@ celerity_register_resource_map(array(
12 => 'differential-local-commits-view-css',
13 => 'inline-comment-summary-css',
),
'uri' => '/res/pkg/c904bbee/differential.pkg.css',
'uri' => '/res/pkg/99f819b9/differential.pkg.css',
'type' => 'css',
),
'7ecd31fa' =>
@ -3430,7 +3430,7 @@ celerity_register_resource_map(array(
'aphront-dialog-view-css' => '311950db',
'aphront-error-view-css' => '311950db',
'aphront-form-view-css' => '311950db',
'aphront-headsup-action-list-view-css' => 'c904bbee',
'aphront-headsup-action-list-view-css' => '99f819b9',
'aphront-headsup-view-css' => '311950db',
'aphront-list-filter-view-css' => '311950db',
'aphront-pager-view-css' => '311950db',
@ -3440,20 +3440,20 @@ celerity_register_resource_map(array(
'aphront-tokenizer-control-css' => '311950db',
'aphront-tooltip-css' => '311950db',
'aphront-typeahead-control-css' => '311950db',
'differential-changeset-view-css' => 'c904bbee',
'differential-core-view-css' => 'c904bbee',
'differential-changeset-view-css' => '99f819b9',
'differential-core-view-css' => '99f819b9',
'differential-inline-comment-editor' => '7ecd31fa',
'differential-local-commits-view-css' => 'c904bbee',
'differential-results-table-css' => 'c904bbee',
'differential-revision-add-comment-css' => 'c904bbee',
'differential-revision-comment-css' => 'c904bbee',
'differential-revision-comment-list-css' => 'c904bbee',
'differential-revision-history-css' => 'c904bbee',
'differential-revision-list-css' => 'c904bbee',
'differential-table-of-contents-css' => 'c904bbee',
'differential-local-commits-view-css' => '99f819b9',
'differential-results-table-css' => '99f819b9',
'differential-revision-add-comment-css' => '99f819b9',
'differential-revision-comment-css' => '99f819b9',
'differential-revision-comment-list-css' => '99f819b9',
'differential-revision-history-css' => '99f819b9',
'differential-revision-list-css' => '99f819b9',
'differential-table-of-contents-css' => '99f819b9',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'inline-comment-summary-css' => 'c904bbee',
'inline-comment-summary-css' => '99f819b9',
'javelin-aphlict' => '5bcc25b6',
'javelin-behavior' => 'db6d724d',
'javelin-behavior-aphlict-dropdown' => '5bcc25b6',
@ -3525,7 +3525,7 @@ celerity_register_resource_map(array(
'maniphest-transaction-detail-css' => '7839ae2d',
'phabricator-app-buttons-css' => '311950db',
'phabricator-busy' => '5bcc25b6',
'phabricator-content-source-view-css' => 'c904bbee',
'phabricator-content-source-view-css' => '99f819b9',
'phabricator-core-buttons-css' => '311950db',
'phabricator-core-css' => '311950db',
'phabricator-crumbs-view-css' => '311950db',
@ -3547,7 +3547,7 @@ celerity_register_resource_map(array(
'phabricator-notification-css' => '311950db',
'phabricator-notification-menu-css' => '311950db',
'phabricator-object-item-list-view-css' => '311950db',
'phabricator-object-selector-css' => 'c904bbee',
'phabricator-object-selector-css' => '99f819b9',
'phabricator-paste-file-upload' => '5bcc25b6',
'phabricator-prefab' => '5bcc25b6',
'phabricator-project-tag-css' => '7839ae2d',

View file

@ -54,11 +54,6 @@
overflow: auto;
}
.differential-comment-core .phabricator-remarkup .remarkup-code-block {
width: 88ex;
width: 81ch;
}
.phabricator-transaction-view .differential-comment-action-testplan {
border-color: #660099;
}