Skip to content

Commit 892c3d9

Browse files
authored
Merge pull request #3497 from nextcloud/fix/stylelint
fix: stylelint
2 parents e7b1400 + 8230c98 commit 892c3d9

9 files changed

Lines changed: 14 additions & 14 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"lint": "eslint --ext .js,.ts,.vue src",
2323
"lint:fix": "eslint --ext .js,.ts,.vue src --fix",
2424
"start:nextcloud": "node playwright/start-nextcloud-server.mjs",
25-
"stylelint": "stylelint css/*.css css/*.scss src/**/*.vue",
26-
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.vue --fix"
25+
"stylelint": "stylelint \"src/**/*.scss\" \"src/**/*.vue\"",
26+
"stylelint:fix": "stylelint \"src/**/*.scss\" \"src/**/*.vue\" --fix"
2727
},
2828
"browserslist": [
2929
"extends @nextcloud/browserslist-config"

src/components/Questions/Question.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export default {
425425
</script>
426426

427427
<style lang="scss" scoped>
428-
@use '../../scssmixins/markdownOutput' as *;
428+
@use '../../scssmixins/markdownOutput.scss' as *;
429429
430430
.question {
431431
position: relative;

src/components/Questions/QuestionFile.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,9 @@ export default {
445445
446446
<style scoped lang="scss">
447447
.file-type-checkbox {
448-
margin-left: 30px;
448+
margin-inline-start: 30px;
449449
}
450+
450451
.question {
451452
&--editable {
452453
.question__input-wrapper {

src/components/Questions/QuestionGrid.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ export default {
442442
443443
.first-column {
444444
min-width: 200px;
445-
text-align: left;
445+
text-align: start;
446446
position: sticky;
447-
left: 0;
447+
inset-inline-start: 0;
448448
}
449449
}
450450
</style>

src/components/Results/Answer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ export default {
210210
211211
.first-column {
212212
min-width: 200px;
213-
text-align: left;
213+
text-align: start;
214214
position: sticky;
215-
left: 0;
215+
inset-inline-start: 0;
216216
}
217217
}
218218
}

src/components/Results/ResultsSummary.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,9 @@ export default {
721721
722722
.first-column {
723723
min-width: 200px;
724-
text-align: left;
724+
text-align: start;
725725
position: sticky;
726-
left: 0;
726+
inset-inline-start: 0;
727727
}
728728
}
729729
}

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ export default {
789789
</script>
790790
791791
<style lang="scss" scoped>
792-
@use '../../scssmixins/markdownOutput' as *;
792+
@use '../../scssmixins/markdownOutput.scss' as *;
793793
794794
#expiresDatetimePicker {
795795
width: calc(100% - var(--default-clickable-area));
@@ -808,6 +808,7 @@ export default {
808808
display: flex;
809809
flex-direction: column;
810810
}
811+
811812
.submission-message {
812813
&__description {
813814
color: var(--color-text-maxcontrast);
@@ -823,7 +824,6 @@ export default {
823824
824825
&__output {
825826
@include markdown-output;
826-
827827
padding: 12px;
828828
margin-block: 3px;
829829
border: 2px solid var(--color-border-maxcontrast);

src/views/Create.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,6 @@ export default {
718718
color: var(--color-main-text);
719719
line-height: 22px;
720720
min-height: 47px; // one line (25px padding + 22px text height)
721-
padding-block-start: 5px; // spacing border<>text
722721
margin: 0px;
723722
padding-block: 3px 18px; // 2px smaller because of border
724723
padding-inline: 10px;

src/views/Submit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ export default {
941941
</script>
942942
943943
<style lang="scss" scoped>
944-
@use '../scssmixins/markdownOutput' as *;
944+
@use '../scssmixins/markdownOutput.scss' as *;
945945
946946
.forms-emptycontent {
947947
height: 100%;

0 commit comments

Comments
 (0)