discourse/app/assets/stylesheets/mobile/admin_badges.scss
David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
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>
2025-01-20 15:27:42 +00:00

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;
}
}
}