Keldos commited on
Commit
e662ff6
·
1 Parent(s): fb1e611

fix: 修复app-title可能脱落到页面下方的问题

Browse files
web_assets/stylesheet/ChuanhuChat.css CHANGED
@@ -60,6 +60,7 @@ body.popup-open {
60
  flex-direction: row;
61
  display: inline-flex;
62
  align-items: center;
 
63
  }
64
  #description {
65
  text-align: center;
@@ -123,12 +124,25 @@ body.popup-open {
123
  }
124
 
125
  /* status-display */
126
- #status-display {
127
  display: flex;
128
  min-height: 2em;
129
  align-items: flex-end;
130
  justify-content: flex-end;
131
  transition: all 0.6s;
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  }
133
  #status-display p {
134
  font-size: .85em;
 
60
  flex-direction: row;
61
  display: inline-flex;
62
  align-items: center;
63
+ position: absolute;
64
  }
65
  #description {
66
  text-align: center;
 
124
  }
125
 
126
  /* status-display */
127
+ #chuanhu-header > #status-display {
128
  display: flex;
129
  min-height: 2em;
130
  align-items: flex-end;
131
  justify-content: flex-end;
132
  transition: all 0.6s;
133
+ max-width: 50%;
134
+ height: 100%;
135
+ bottom: 0;
136
+ position: absolute;
137
+
138
+ @media screen and (max-width: 639px) {
139
+ right: 16px;
140
+ right: max(16px, env(safe-area-inset-right));
141
+ }
142
+ @media screen and (min-width: 640px) {
143
+ right: 24px;
144
+ right: max(24px, env(safe-area-inset-right));
145
+ }
146
  }
147
  #status-display p {
148
  font-size: .85em;