Skip to content

Commit

Permalink
fix: remove app-content-details from global styling
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Jan 20, 2025
1 parent 84abda7 commit e6f08dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 12 additions & 0 deletions src/components/CircleDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,18 @@ export default {
</script>

<style lang="scss" scoped>
.app-content-details {

Check warning on line 391 in src/components/CircleDetails.vue

View check run for this annotation

Codecov / codecov/patch

src/components/CircleDetails.vue#L391

Added line #L391 was not covered by tests
padding: calc(var(--default-grid-baseline) * 2);
padding-top: 0;
height: 100%;
overflow: auto;

// Compensate top padding reserved for the back button on mobile
@media (max-width: 1024px) {
height: calc(100% - 44px);
padding: 0 20px;
}
}
.app-content-details header,
.app-content-details section {
max-width: 800px;
Expand Down
12 changes: 0 additions & 12 deletions src/css/contacts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ $grid-input-height-with-margin: $grid-height-unit - $grid-input-margin * 2;
// various
@import 'animations';

.app-content-details {
padding: calc(var(--default-grid-baseline) * 2);
padding-top: 0;
height: 100%;
overflow: auto;

// Compensate top padding reserved for the back button on mobile
@media (max-width: 1024px) {
height: calc(100% - 44px);
padding: 0 20px;
}
}

.app-content-list {
// Cancel scrolling
Expand Down

0 comments on commit e6f08dc

Please sign in to comment.