Skip to content

Commit

Permalink
Fix Browse button layout Round 2
Browse files Browse the repository at this point in the history
**Problem**

Browse button in Custom Object upload dialog displays weirdly
in portrait mode on iOS. It unexpectedly covers almost the entire
URL area in portrait mode.

We applied a change to fix but it didn't work.

**Changes**

* Remove flax stuffs and width 60px from browse style
* Add justify-content: end to IconButton style
  • Loading branch information
takahirox committed Nov 9, 2023
1 parent 93d2537 commit 8dde5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/react-components/input/IconButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
font-size: theme.$font-size-xs;
font-weight: theme.$font-weight-bold;
cursor: pointer;
justify-content: end;

svg {
color: theme.$text1-color;
Expand Down
6 changes: 1 addition & 5 deletions src/react-components/room/ObjectUrlModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@
color: white;
background-color: black;
height: 100%;
display: flex;
flex: 1;
align-items: center;
justify-content: center;
margin: 0;
width: 60px;
padding: 10px;
}

:local(.container) {
Expand Down

0 comments on commit 8dde5a7

Please sign in to comment.