mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
82f97b6b33
Summary: Because we layout profile navs with display: table-cell, it has unintended consequences with overflowing text boxes, like with `pre`. This causes the layouts to break, like a table might, with long content. For now, let's just line-wrap the `pre` like a terminal would. Test Plan: ```"/opt/ghc-7.10.1-i386/bin/ghc" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Wall -package-db libraries/bootstrapping.conf -this-package-key ghc-7.11 -hide-all-packages -i -icompiler/backpack -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/. -Icompiler/parser -Icompiler/utils -Icompiler/stage1 -optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package-id array-0.5.1.0-29bb26a0797af39b979b99b93e9d62fd -package-id base-4.8.0.0-82f21b46ed153fd6b19071a60f2e7937 -package-id binary-0.7.5.0 -package-id bytestring-0.10.6.0-79779027caa792766a3e8dc3e9cb98de -package-id containers-0.5.6.2-90712e174b339b5587c1656969878fb0 -package-id directory-1.2.2.0-73de5f636b1ca4c49aef15924617292c -package-id filepath-1.4.0.0-129f3fdd2b5de4f823a2641d7cf29327 -package-id ghc-boot-0.0.0.0 -package-id hoopl-3.10.2.0 -package-id hpc-0.6.0.2 -package-id process-1.2.3.0-77cd256a28bb4c7cc8cecb076a8fbc37 -package-id template-haskell-2.11.0.0 -package-id time-1.5.0.1-f5db9cf4a7dcb8716611e730437a1fd6 -package-id transformers-0.4.3.0 -package-id unix-2.7.1.0-57629c7ceba7cbcf210cc85471e45e07 -Wall -fno-warn-name-shadowing -this-package-key ghc -XHaskell2010 -DSTAGE=1 -Rghc-timing -fwarn-tabs -no-user-package-db -rtsopts -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -c compiler/utils/Outputable.hs -o compiler/stage1/build/Outputable.o``` Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15548
97 lines
1.9 KiB
CSS
97 lines
1.9 KiB
CSS
/**
|
|
* @provides project-view-css
|
|
*/
|
|
|
|
.project-view-header-tag {
|
|
margin-left: 8px;
|
|
font-size: {$normalfontsize};
|
|
color: {$bluetext};
|
|
font-family: {$fontfamily};
|
|
font-weight: normal;
|
|
}
|
|
|
|
.device-phone .project-view-header-tag {
|
|
display: block;
|
|
margin-left: -4px;
|
|
}
|
|
|
|
.project-view-header-tag .phui-icon-view {
|
|
color: {$bluetext};
|
|
}
|
|
|
|
.device .project-view-home .phui-two-column-row {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.project-view-home .phui-box.project-view-properties {
|
|
margin: 0 0 16px 0;
|
|
padding: 0;
|
|
border: 1px solid rgba({$alphagrey}, .2);
|
|
background-color: #fff;
|
|
}
|
|
|
|
.device-desktop .phui-two-column-view .project-view-properties
|
|
.phui-property-list-container {
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.device-phone .phui-box.project-view-properties {
|
|
margin: 0 12px 0 12px;
|
|
}
|
|
|
|
.project-view-properties .phui-property-list-container +
|
|
.phui-property-list-text-content {
|
|
border-color: rgba({$alphagrey},.2);
|
|
}
|
|
|
|
.project-view-properties .phui-property-list-key {
|
|
width: auto;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.project-view-properties .phui-property-list-section-header {
|
|
border: none;
|
|
padding: 12px 4px 0;
|
|
}
|
|
|
|
.project-view-feed.phui-object-box.phui-box-border {
|
|
border: 1px solid rgba({$alphagrey}, .2);
|
|
}
|
|
|
|
.project-view-home .phui-box-grey {
|
|
padding: 0;
|
|
}
|
|
|
|
.project-view-home .phui-box-grey .phui-header-shell {
|
|
padding: 6px 6px 6px 12px;
|
|
}
|
|
|
|
.project-view-home .phui-box-grey .phui-header-header {
|
|
font-size: {$biggerfontsize};
|
|
}
|
|
|
|
.project-view-home .phui-box-grey .phui-header-action-link {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.project-view-home .phui-box-grey .phui-object-item-list-view {
|
|
padding: 4px 8px 0 8px;
|
|
}
|
|
|
|
.project-view-badges .phui-badge-flex-view {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.project-view-home .phui-box-grey .phui-object-item-attribute .phui-icon-view {
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.profile-no-badges {
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.project-view-home .phabricator-remarkup .remarkup-code-block pre {
|
|
white-space: pre-wrap;
|
|
}
|