-
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix content overflowing responsive issue in MapSwipe Stats page
- Loading branch information
1 parent
bc4d753
commit f10eae6
Showing
7 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.mapswipe-stats-info-banner { | ||
background-color: #d9d7d7; | ||
width: fit-content; | ||
margin-left: 20px; | ||
border-radius: 3px; | ||
&::before { | ||
content: ''; | ||
position: absolute; | ||
left: -20px; | ||
top: 0; | ||
bottom: 0; | ||
width: 20px; | ||
/* background-color: #d9d7d7; */ | ||
clip-path: polygon(100% 0, 0 50%, 100% 100%); | ||
} | ||
} | ||
|
||
$medium: 960px; | ||
|
||
.mapswipe-stats-piechart-container { | ||
display: flex; | ||
flex-direction: row; | ||
@media screen and (max-width: $medium) { | ||
flex-direction: column; | ||
gap: 2rem; | ||
} | ||
} | ||
|
||
.mapswipe-stats-piechart { | ||
width: 48.5%; | ||
@media screen and (max-width: $medium) { | ||
width: 100%; | ||
} | ||
} | ||
|
||
.mapswipe-stats-swipes-container { | ||
display: flex; | ||
flex-direction: row; | ||
@media screen and (max-width: $medium) { | ||
flex-direction: column; | ||
} | ||
} |