mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 11:56:26 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
54 lines
772 B
SCSS
54 lines
772 B
SCSS
.archetype-private_message {
|
|
.topic-body {
|
|
flex: 1 1 auto;
|
|
|
|
.cooked {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.contents.regular {
|
|
margin-top: 0.5em;
|
|
margin-left: 0;
|
|
padding: 1.5em 1em 0;
|
|
border-radius: var(--pm-border-radius);
|
|
}
|
|
}
|
|
|
|
.post-menu-area {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.topic-avatar {
|
|
margin-bottom: -1em; // creates bubble overlap
|
|
}
|
|
|
|
.topic-post {
|
|
margin: 0;
|
|
|
|
article {
|
|
border-top: none;
|
|
}
|
|
}
|
|
|
|
.topic-map {
|
|
padding: 1em 0.5em;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.post-notice {
|
|
padding: 1em;
|
|
margin: 0 0 1em;
|
|
width: 100%;
|
|
}
|
|
|
|
.topic-meta-data .names .first.staff {
|
|
flex-basis: 100%;
|
|
|
|
& + .second,
|
|
& + .second + .user-title {
|
|
flex-basis: unset;
|
|
}
|
|
}
|
|
}
|