Skip to content

Commit

Permalink
fix profile visibility settings being too wide
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Oct 17, 2023
1 parent fbf8a46 commit 6e91657
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 21 deletions.
6 changes: 6 additions & 0 deletions apps/settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ select {
}
}

@media only screen and (max-width: math.div(variables.$breakpoint-mobile, 2)) {
#personal-settings {
display: block;
}
}


// Button for 'Reasons to use Nextcloud in your organization'
.development-notice {
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

0 comments on commit 6e91657

Please sign in to comment.