Skip to content

Commit

Permalink
fix: adjust styles with new NcEmptyContent styles
Browse files Browse the repository at this point in the history
- Remove unnecessary margin:0 styles

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Sep 7, 2023
1 parent ead156f commit 16e756d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 22 deletions.
2 changes: 0 additions & 2 deletions src/components/NcDashboardWidget/NcDashboardWidget.vue
Expand Up @@ -351,11 +351,9 @@ export default {
<style scoped lang="scss">
.dashboard-widget :deep(.empty-content) {
text-align: center;
margin-top: 0;
padding-top: 5vh;
&.half-screen {
padding-top: 0;
margin-top: 0;
margin-bottom: 1vh;
}
}
Expand Down
Expand Up @@ -111,11 +111,6 @@ export default {
display: flex;
flex-direction: column;
&--empty-content {
margin-top: auto !important;
margin-bottom: auto !important;
}
&--select {
width: 100%;
Expand Down
15 changes: 5 additions & 10 deletions src/components/NcRichText/NcReferencePicker/NcRawLinkInput.vue
Expand Up @@ -137,16 +137,11 @@ export default {
display: flex;
}
&--empty-content {
margin-top: auto !important;
margin-bottom: auto !important;
.provider-icon {
width: 150px;
height: 150px;
object-fit: contain;
filter: var(--background-invert-if-dark);
}
&--empty-content .provider-icon {
width: 150px;
height: 150px;
object-fit: contain;
filter: var(--background-invert-if-dark);
}
&--input {
Expand Down
5 changes: 0 additions & 5 deletions src/components/NcRichText/NcReferencePicker/NcSearch.vue
Expand Up @@ -293,11 +293,6 @@ export default {
min-height: 400px;
}
&--empty-content {
margin-top: auto !important;
margin-bottom: auto !important;
}
.provider-icon {
width: 150px;
height: 150px;
Expand Down

0 comments on commit 16e756d

Please sign in to comment.