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>
|
<style scoped>
|
||||||
.dashboard-widget {
|
.dashboard-widget {
|
||||||
min-height: 200px;
|
min-height: 0;
|
||||||
max-height: 420px;
|
max-height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: var(--dashboard-widget-bg, #fff);
|
background: var(--dashboard-widget-bg, #fff);
|
||||||
|
|||||||
@@ -374,11 +374,21 @@ export default {
|
|||||||
.dashboard-grid {
|
.dashboard-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||||
|
grid-auto-rows: 420px;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-grid-cell {
|
.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 {
|
.dashboard-grid-cell.drop-target {
|
||||||
|
|||||||
Reference in New Issue
Block a user