mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
0dfc84e2ab
Summary: In a Ponder Answer, when adding a Comment, the textarea indentation was a a little bit unintuitive. After this change, the textarea is aligned as a Comment: | Before | After | |-----------|-----------| | {F286220} | {F286221} | Other changes are welcome but this seems to me a good minimum. I also hope this could help not to confuse the Comment field with the Answer field. Closes T15350 Test Plan: - create a Ponder Question - create an Answer - look at the Comments input field that now should be more nicely indented - the normal Response field is not changed at all - the mobile view is not changed at all - click on "Pin Form On Screen" and it must be as before Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: speck, tobiaswiese, Matthew, Cigaryno Maniphest Tasks: T15350 Differential Revision: https://we.phorge.it/D25192
152 lines
2.9 KiB
CSS
152 lines
2.9 KiB
CSS
/**
|
|
* @provides ponder-view-css
|
|
*/
|
|
|
|
.ponder-question-container {
|
|
border-top: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.device .ponder-view-properties {
|
|
border-left: none;
|
|
border-right: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.device .ponder-question-view .phui-timeline-view,
|
|
.device .ponder-question-view .phui-timeline-event-view {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-view-properties .phui-property-list-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-question-view .phui-document-container {
|
|
border: none;
|
|
}
|
|
|
|
.phui-two-column-view .phui-main-column .ponder-question-content
|
|
.phui-box.ponder-answer-wiki {
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.ponder-answer-wiki .phabricator-remarkup {
|
|
padding: 16px;
|
|
}
|
|
|
|
.ponder-question-content .phui-timeline-view {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.ponder-answer-view {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* Indent comments so that are more related to the answer */
|
|
.device-desktop .ponder-answer-view .phui-timeline-view {
|
|
margin-left: 32px;
|
|
}
|
|
|
|
/* Indent input box so that it's more related to answer's comments */
|
|
.device-desktop .ponder-answer-view
|
|
.phui-comment-form-view:not(.remarkup-assist-pinned) {
|
|
margin-left: 94px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-subheader {
|
|
display: inline;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.ponder-question-view .ponder-answer .phui-header-shell {
|
|
padding: 4px 8px 3px 8px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-image-href {
|
|
display: flex;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-view .phui-header-header {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-col1 {
|
|
width: 40px;
|
|
}
|
|
|
|
.ponder-answer-view .ponder-answer-content {
|
|
background-color: #fff;
|
|
padding: 16px 16px 0 16px;
|
|
}
|
|
|
|
.device-phone .ponder-answer-view .ponder-answer-content {
|
|
padding: 12px 12px 0 12px;
|
|
}
|
|
|
|
.ponder-answer-view .phui-header-image {
|
|
height: 30px;
|
|
width: 30px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.ponder-answer-wiki-header {
|
|
font-weight: bold;
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
color: {$bluetext};
|
|
padding-bottom: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.ponder-footer-view {
|
|
text-align: left;
|
|
margin-top: 16px;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.ponder-answer-view .ponder-footer-view {
|
|
margin-top: 16px;
|
|
border-top: 1px solid rgba({$alphagrey}, .15);
|
|
border-bottom: none;
|
|
}
|
|
|
|
body .phui-main-column .ponder-question-content .ponder-answer-view
|
|
.phui-object-box.ponder-answer {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ponder-footer-view .ponder-footer-action {
|
|
padding: 8px 0;
|
|
margin-right: 8px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ponder-answer-section {
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.ponder-add-answer-header {
|
|
margin-top: 64px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.ponder-add-answer-view {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.ponder-question-content div.ponder-question-add-comment-view
|
|
div.phui-box.phui-object-box {
|
|
margin-right: 0;
|
|
margin-left: 62px;
|
|
}
|
|
|
|
.device .ponder-question-content div.ponder-question-add-comment-view
|
|
div.phui-box.phui-object-box {
|
|
margin: 0;
|
|
}
|
|
|
|
.ponder-question-add-comment-view .remarkup-assist-textarea {
|
|
height: 8em;
|
|
}
|