forked from jsnbuchanan/crowd-funder-for-time-pwa
Refactor: unify dialog styles across components
- Add unified .dialog-overlay and .dialog classes to tailwind.css - Remove duplicated dialog styles from 9 Vue components - Standardize z-index to 50 for all dialogs - Preserve special cases: FeedFilters (z-index: 100), PhotoDialog (camera styles) - Eliminate ~200 lines of duplicated CSS code - Updated ContactNameDialog from using getter methods to direct CSS classes - Improve maintainability with single source of truth for dialog styling
This commit is contained in:
@@ -312,28 +312,3 @@ export default class OfferDialog extends Vue {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.dialog-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.dialog {
|
||||
background: white;
|
||||
padding: 1.5rem;
|
||||
border-radius: 0.5rem;
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user