Skip to content

Commit

Permalink
Merge pull request #40932 from nextcloud/enh/36965/fix-account-settings
Browse files Browse the repository at this point in the history
fix profile visibility settings being too wide
  • Loading branch information
szaimen authored Oct 17, 2023
2 parents 91118a5 + d4415ba commit a21d6c5
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 27 deletions.
2 changes: 1 addition & 1 deletion apps/settings/css/settings.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/css/settings.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ select {
display: grid;
padding: 20px;
max-width: 1700px;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
grid-column-gap: 10px;

.section {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ section {
justify-content: center;
align-items: center;
gap: 16px 0;
width: 300px;
width: min(100%, 300px);

span {
color: var(--color-text-lighter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ html {
a {
display: block;
height: 44px;
width: 290px;
width: min(100%, 290px);
overflow: hidden;
text-overflow: ellipsis;
line-height: 44px;
padding: 0 16px;
margin: 14px auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default {
display: flex;
flex-direction: column;
position: relative;
width: 290px;
width: min(100%, 290px);
height: 116px;
margin: 14px auto;
border-radius: var(--border-radius-large);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,5 @@ section {
}
}
}

.visibility-dropdowns {
display: grid;
gap: 10px 40px;
}

@media (min-width: 1200px) {
width: 940px;

.visibility-dropdowns {
grid-auto-flow: column;
}
}

@media (max-width: 1200px) {
width: 470px;
}
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default {
<style lang="scss" scoped>
.visibility-container {
display: flex;
width: max-content;
flex-wrap: wrap;

&.disabled {
filter: grayscale(1);
Expand Down
4 changes: 2 additions & 2 deletions dist/settings-vue-settings-personal-info.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-vue-settings-personal-info.js.map

Large diffs are not rendered by default.

0 comments on commit a21d6c5

Please sign in to comment.