Update DashboardWidget and LoggedInView styles: Adjust min-height and max-height properties for better layout flexibility. Enhance dashboard grid cell styling to support dynamic content display and improve overall UI responsiveness.
This commit is contained in:
@@ -249,8 +249,8 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.dashboard-widget {
|
||||
min-height: 200px;
|
||||
max-height: 420px;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--dashboard-widget-bg, #fff);
|
||||
|
||||
@@ -374,11 +374,21 @@ export default {
|
||||
.dashboard-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
grid-auto-rows: 420px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.dashboard-grid-cell {
|
||||
min-height: 200px;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.dashboard-grid-cell > * {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.dashboard-grid-cell.drop-target {
|
||||
|
||||
Reference in New Issue
Block a user