1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Make code blocks clear floats in Phriction

Summary: In situations where a code block and a ToC are displayed, this clears the float so the code block is always 100% wide.

Test Plan: Tested a code block with a ToC, iOS and Chrome

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6004
This commit is contained in:
Chad Little 2013-05-22 15:35:42 -07:00
parent b0495ad9af
commit b956944667
2 changed files with 6 additions and 1 deletions

View file

@ -3651,7 +3651,7 @@ celerity_register_resource_map(array(
),
'phriction-document-css' =>
array(
'uri' => '/res/cc6cefba/rsrc/css/application/phriction/phriction-document-css.css',
'uri' => '/res/14e08350/rsrc/css/application/phriction/phriction-document-css.css',
'type' => 'css',
'requires' =>
array(

View file

@ -150,3 +150,8 @@
.device-phone .phriction-content .phabricator-remarkup-toc {
width: 120px;
}
.phriction-content .phabricator-remarkup .remarkup-code-block {
clear: both;
margin: 20px 0;
}