forked from abner/for-legacy-web
Fix: Icons collapsing in flex.
Feature: Remember what channel was opened last. Channels: ESC to focus message box / cancel editing.
This commit is contained in:
@@ -14,6 +14,8 @@ interface IconModifiers {
|
||||
}
|
||||
|
||||
export default styled.svg<IconModifiers>`
|
||||
flex-shrink: 0;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -26,6 +28,7 @@ export default styled.svg<IconModifiers>`
|
||||
`;
|
||||
|
||||
export const ImageIconBase = styled.img<IconModifiers>`
|
||||
flex-shrink: 0;
|
||||
object-fit: cover;
|
||||
|
||||
${ props => !props.square && css`
|
||||
|
||||
Reference in New Issue
Block a user