mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
No popping in standalone mode
This commit is contained in:
parent
4acb6aa3c2
commit
d6575037eb
2 changed files with 9 additions and 2 deletions
|
@ -359,3 +359,10 @@
|
|||
width: 100%;
|
||||
color: var(--red-color);
|
||||
}
|
||||
|
||||
@media (display-mode: standalone) {
|
||||
/* No popping in standalone mode */
|
||||
#compose-container .pop-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -348,7 +348,7 @@ function Compose({
|
|||
<span>
|
||||
<button
|
||||
type="button"
|
||||
class="light"
|
||||
class="light pop-button"
|
||||
disabled={uiState === 'loading'}
|
||||
onClick={() => {
|
||||
// If there are non-ID media attachments (not yet uploaded), show confirmation dialog because they are not going to be passed to the new window
|
||||
|
@ -408,7 +408,7 @@ function Compose({
|
|||
hasOpener && (
|
||||
<button
|
||||
type="button"
|
||||
class="light"
|
||||
class="light pop-button"
|
||||
disabled={uiState === 'loading'}
|
||||
onClick={() => {
|
||||
// If there are non-ID media attachments (not yet uploaded), show confirmation dialog because they are not going to be passed to the new window
|
||||
|
|
Loading…
Reference in a new issue