impr: rewrite PostForm component to be stabler and more sustainable (#684)
* impr: rewrite PostForm component into extracted state class * fix: use base community as PostFormState * fix: add else clause to ensure 'unset' unsets the language
This commit is contained in:
1 parent
6f7501ffc5
commit
e4507cbf91
16 files changed
+506
-586
No files matched your search
@@ -35,16 +35,18 @@
|
||||
|
||||
.btn-group.btn-group-horizontal {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
:global(*) {
|
||||
position: relative;
|
||||
&:first-child {
|
||||
border-radius: 24px 8px 8px 24px !important;
|
||||
}
|
||||
.btn-group.btn-group-horizontal :global(> *) {
|
||||
position: relative;
|
||||
border-radius: 8px 8px 8px 8px !important;
|
||||
|
||||
&:last-child {
|
||||
border-radius: 8px 24px 24px 8px !important;
|
||||
}
|
||||
&:first-child {
|
||||
border-radius: 24px 12px 12px 24px !important;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 12px 24px 24px 12px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user