MAPG-119 'add new map' button and some desing improvements on maps page

This commit is contained in:
bence committed 2020-06-10 23:36:00 +02:00
1 parent 947ce6b183
commit ec7e806277
3 files changed
+51 -8

No files matched your search

+14 -3
View File
@@ -4,11 +4,15 @@
div.mapItem {
width: 350px;
background-color: #eeeeee;
border-radius: 3px;
margin: 10px auto;
}
div.mapItem.new {
display: flex;
justify-content: center;
align-items: center;
}
div.mapItem>div.title {
background-color: #28a745;
color: white;
@@ -27,6 +31,7 @@ div.mapItem>img {
}
div.mapItem>div.inner {
background-color: #eeeeee;
padding: 10px 8px;
}
@@ -43,6 +48,12 @@ div.mapItem>div.inner>div.info>p:nth-child(2) {
text-align: right;
}
div.mapItem>div.buttonContainer {
display: grid;
grid-auto-columns: 1fr;
grid-auto-flow: column;
}
@media screen and (min-width: 1504px) {
#mapContainer {
grid-template-columns: auto auto auto auto;
@@ -69,6 +80,6 @@ div.mapItem>div.inner>div.info>p:nth-child(2) {
@media screen and (max-width: 374px) {
div.mapItem {
width: initial;
width: 100%;
}
}