Skip to content

Commit

Permalink
Merge pull request #1447 from nextcloud/fix/scopeSCSS
Browse files Browse the repository at this point in the history
Scope SCSS in Create.vue and adjust Results.vue
  • Loading branch information
Chartman123 authored Jan 15, 2023
2 parents 1f5776f + 6e06e6b commit 30e6212
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/views/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export default {
}
</script>

<style lang="scss">
<style lang="scss" scoped>
.app-content {
display: flex;
align-items: center;
Expand Down
43 changes: 31 additions & 12 deletions src/views/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,20 +327,39 @@ export default {
</script>

<style lang="scss" scoped>
.app-content header {
h2 {
font-size: 2em;
font-weight: bold;
margin-top: 32px;
padding-left: 14px;
padding-bottom: 8px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.app-content {
display: flex;
align-items: center;
flex-direction: column;

header,
section {
width: 100%;
max-width: 750px;
}

p {
padding-left: 14px;
// Title & description header
header {
display: flex;
flex-direction: column;
margin-bottom: 24px;
margin-left: 56px;

h2 {
margin-bottom: 0; // because the input field has enough padding
font-size: 28px;
font-weight: bold;
margin-top: 32px;
padding-left: 14px;
padding-bottom: 8px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

p {
padding-left: 14px;
}
}

.response-actions {
Expand Down

0 comments on commit 30e6212

Please sign in to comment.