-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance mobile responsiveness & remove MainComposer module redu… (
#288) * feat: enhance mobile responsiveness & remove MainComposer module redundancies * chore: add path alias and changeset, delete unnecessary things * docs: add changeset feature * chore: change the changeset summary * chore: add path alias in home module * feat: enhance mobile responsiveness & remove MainComposer module redundancies * chore: add path alias and changeset, delete unnecessary things * chore: replace from pixel and percentage to rem
- Loading branch information
1 parent
1e791ef
commit 0afd805
Showing
9 changed files
with
156 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@octopost/core': patch | ||
--- | ||
|
||
In this Changeset, in general, were add features regarding a Adjusting Main Content for Mobile Version. |
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,5 @@ | ||
--- | ||
'@octopost/core': patch | ||
--- | ||
|
||
In general, were add features regarding a Adjusting Main Content for Mobile Version. |
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 |
---|---|---|
@@ -1,69 +1,74 @@ | ||
@use '../../styles/global.scss' as *; | ||
@use '~styles/breakpoints.scss'; | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
align-items: stretch; | ||
|
||
font-family: $mainFont; | ||
|
||
font-size: 1.6rem; | ||
|
||
border: 1px solid #cbc4cf; | ||
.header { | ||
display: none; | ||
} | ||
|
||
background-color: $primaryWhite; | ||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); | ||
border-radius: 17px 17px 0 0; | ||
.headerTitle { | ||
flex-grow: 1; | ||
} | ||
|
||
.header { | ||
width: 100%; | ||
.closeButton { | ||
width: min-content; | ||
|
||
display: flex; | ||
flex-flow: row nowrap; | ||
|
||
align-items: center; | ||
|
||
justify-content: space-between; | ||
justify-content: center; | ||
|
||
color: $primaryWhite; | ||
font-size: 1.6rem; | ||
line-height: 1; | ||
font-size: 4rem; | ||
font-weight: 900; | ||
|
||
margin-right: 2rem; | ||
|
||
padding: 1.2rem; | ||
cursor: pointer; | ||
} | ||
|
||
position: relative; | ||
@include breakpoints.from600 { | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
background-color: $secondaryPurple; | ||
border-radius: 17px 17px 0 0; | ||
align-items: stretch; | ||
|
||
&::before { | ||
font-size: 1.8rem; | ||
font-family: $mainFont; | ||
font-size: 1.6rem; | ||
|
||
margin-right: 1rem; | ||
border: 1px solid #cbc4cf; | ||
|
||
content: '⬤'; | ||
background-color: $primaryWhite; | ||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); | ||
border-radius: 17px 17px 0 0; | ||
} | ||
} | ||
|
||
.headerTitle { | ||
flex-grow: 1; | ||
} | ||
.header { | ||
width: 100%; | ||
|
||
.closeButton { | ||
width: min-content; | ||
display: flex; | ||
flex-flow: row nowrap; | ||
|
||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
|
||
align-items: center; | ||
justify-content: center; | ||
color: $primaryWhite; | ||
font-size: 1.6rem; | ||
line-height: 1; | ||
|
||
color: $primaryWhite; | ||
font-size: 4rem; | ||
font-weight: 900; | ||
padding: 1.2rem; | ||
|
||
margin-right: 2rem; | ||
position: relative; | ||
|
||
cursor: pointer; | ||
background-color: $secondaryPurple; | ||
border-radius: 17px 17px 0 0; | ||
|
||
&::before { | ||
font-size: 1.8rem; | ||
|
||
margin-right: 1rem; | ||
|
||
content: '⬤'; | ||
} | ||
} | ||
} |
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 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