The commit adds a new CSS class for the map area and includes comments explaining code functionality, fitting the 'feat' type for introducing new styling features.
feat: add map area styles for flex layout Co-authored-by: aider (ollama/qwen2.5-coder:32b) <aider@aider.chat>
This commit is contained in:
parent
6c4599dffc
commit
4f26bd6981
10
css/map.css
10
css/map.css
@ -4,7 +4,7 @@
|
|||||||
.app-container {
|
.app-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden; /* Add this to prevent scrollbars */
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,6 +16,14 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Map Area */
|
||||||
|
.map-area {
|
||||||
|
flex: 1;
|
||||||
|
width: 0; /* This is important for flex layout calculations */
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user