mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Standardize some Q/A CSS
This commit is contained in:
+3
-5
@@ -2741,17 +2741,15 @@ input.key-trap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.qa-details-description {
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.qa-details-description-text::first-letter {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
[dir='rtl'] .qa-details-description-text::first-letter {
|
||||
text-transform: none; /* #5877 */
|
||||
}
|
||||
.qa-details-subsection h4 {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
.qa-details-subsection:not(:last-child) {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ export function uiImproveOsmDetails(context) {
|
||||
// description
|
||||
const descriptionEnter = detailsEnter
|
||||
.append('div')
|
||||
.attr('class', 'qa-details-description');
|
||||
.attr('class', 'qa-details-subsection');
|
||||
|
||||
descriptionEnter
|
||||
.append('h4')
|
||||
|
||||
@@ -48,7 +48,7 @@ export function uiKeepRightDetails(context) {
|
||||
// description
|
||||
const descriptionEnter = detailsEnter
|
||||
.append('div')
|
||||
.attr('class', 'qa-details-description');
|
||||
.attr('class', 'qa-details-subsection');
|
||||
|
||||
descriptionEnter
|
||||
.append('h4')
|
||||
|
||||
Reference in New Issue
Block a user