mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 22:09:56 +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>
45 lines
615 B
SCSS
45 lines
615 B
SCSS
.mobile-view {
|
|
.admin-badges {
|
|
.badges {
|
|
margin: 0 0.25em;
|
|
|
|
.content-list {
|
|
flex: 0 0 100%;
|
|
width: 100%;
|
|
|
|
.admin-badge-list {
|
|
max-height: 40vh;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.badge-intro {
|
|
flex: 0 1 75%;
|
|
}
|
|
|
|
.current-badge {
|
|
margin: 20px 0;
|
|
width: 100%;
|
|
|
|
textarea {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.badges-header .create-new-badge .btn-default {
|
|
.d-button-label {
|
|
display: none;
|
|
}
|
|
|
|
.d-icon {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|