1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

[Redesign] Give a default line height on codeblocks

Summary: Ref T8099, Gives a default line height to codeblocks, slight background color to pastes.

Test Plan: Tested diffs, pastes, codeblocks in remarkup

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D13470
This commit is contained in:
Chad Little 2015-06-29 11:06:09 -07:00
parent e576ef4bfe
commit a3c8fcded2
3 changed files with 8 additions and 7 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => 'b8d31fec',
'core.pkg.css' => '5c21bf06',
'core.pkg.js' => 'a590b451',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '1b36e899',
@ -108,7 +108,7 @@ return array(
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => 'a76cefc9',
'rsrc/css/core/remarkup.css' => '359cd31c',
'rsrc/css/core/remarkup.css' => 'cb0aa7d6',
'rsrc/css/core/syntax.css' => '9fd11da8',
'rsrc/css/core/z-index.css' => '63689f49',
'rsrc/css/diviner/diviner-shared.css' => '5a337049',
@ -119,7 +119,7 @@ return array(
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '3a8553e7',
'rsrc/css/layout/phabricator-side-menu-view.css' => '8d13687d',
'rsrc/css/layout/phabricator-source-code-view.css' => '098e9b75',
'rsrc/css/layout/phabricator-source-code-view.css' => '5e0178de',
'rsrc/css/phui/calendar/phui-calendar-day.css' => 'd1cf6f93',
'rsrc/css/phui/calendar/phui-calendar-list.css' => 'c1c7f338',
'rsrc/css/phui/calendar/phui-calendar-month.css' => '476be7e0',
@ -732,12 +732,12 @@ return array(
'phabricator-object-selector-css' => '029a133d',
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '6920d200',
'phabricator-remarkup-css' => '359cd31c',
'phabricator-remarkup-css' => 'cb0aa7d6',
'phabricator-search-results-css' => '7dea472c',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-side-menu-view-css' => '8d13687d',
'phabricator-slowvote-css' => '7c27f0f9',
'phabricator-source-code-view-css' => '098e9b75',
'phabricator-source-code-view-css' => '5e0178de',
'phabricator-standard-page-view' => 'def344d6',
'phabricator-textareautils' => '5c93c52c',
'phabricator-title' => 'df5e11d2',

View file

@ -12,12 +12,12 @@
.PhabricatorMonospaced,
.phabricator-remarkup .remarkup-code-block .remarkup-code {
font: 10px "Menlo", "Consolas", "Monaco", monospace;
font: 10px/13px "Menlo", "Consolas", "Monaco", monospace;
}
.platform-windows .PhabricatorMonospaced,
.platform-windows .phabricator-remarkup .remarkup-code-block .remarkup-code {
font: 11px "Menlo", "Consolas", "Monaco", monospace;
font: 11px/13px "Menlo", "Consolas", "Monaco", monospace;
}
.phabricator-remarkup .remarkup-code-block {

View file

@ -8,6 +8,7 @@
overflow-y: hidden;
border: 1px solid {$sh-lightyellowborder};
border-radius: 3px;
background-color: #FCFBF7;
}
.phui-object-item .phabricator-source-code-container {