mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
非ログイン時に検索欄がズレていたのを修正 (#5883)
* 非ログイン時に検索欄がズレていたのを修正 * flexboxを用いてセンタリングを行うように変更
This commit is contained in:
parent
614d897d11
commit
b06b9cb2cf
1 changed files with 3 additions and 1 deletions
|
@ -697,6 +697,8 @@ export default Vue.extend({
|
|||
> .sub {
|
||||
$post-button-size: 42px;
|
||||
$post-button-margin: (($header-height - $post-button-size) / 2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 16px;
|
||||
|
@ -736,7 +738,7 @@ export default Vue.extend({
|
|||
> .post {
|
||||
width: $post-button-size;
|
||||
height: $post-button-size;
|
||||
margin: $post-button-margin 0 $post-button-margin $post-button-margin;
|
||||
margin-left: $post-button-margin;
|
||||
border-radius: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue