Enhance responsiveness of navigation and product CRUD components with CSS adjustments for better layout on small screens
This commit is contained in:
@@ -18,14 +18,16 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 0 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.nav-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
flex: 0 1 auto;
|
||||
justify-content: flex-end;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.mat-menu-item mat-icon {
|
||||
@@ -53,15 +55,17 @@
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 6px 8px;
|
||||
font-size: 0.95rem;
|
||||
min-width: 0;
|
||||
}
|
||||
.nav-actions button {
|
||||
padding: 6px 8px;
|
||||
font-size: 0.95rem;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
mat-icon {
|
||||
font-size: 20px;
|
||||
}
|
||||
.nav-actions mat-icon {
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user