mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-30 16:38:21 +01: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:
parent
b0495ad9af
commit
b956944667
2 changed files with 6 additions and 1 deletions
|
@ -3651,7 +3651,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phriction-document-css' =>
|
'phriction-document-css' =>
|
||||||
array(
|
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',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -150,3 +150,8 @@
|
||||||
.device-phone .phriction-content .phabricator-remarkup-toc {
|
.device-phone .phriction-content .phabricator-remarkup-toc {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phriction-content .phabricator-remarkup .remarkup-code-block {
|
||||||
|
clear: both;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue