Pavel 84ec492292
Add more components, message actions & reactions (#339)
* hide sidebar on small screen

* add reply component

* add radix dependencies

* add dropdown menu component

* add popover component

* add tooltip component

* add react button component

* add reaction popover

* update chat message actions

* add basic dialog and sheet components

* add ref to Button component

* add chat message reactions

* add reply and reactions to chat message

* remove console.log

* add dropdown menu to topbar

* add ref and support aria in IconButton

* yarn.lock

* add stylesheet reset to storybook

* add pinned state to message

* remove extraneous component

* add all button variants

* fix button icons

* use IconButton in actions

* remove erroneous character

* add reply to composer + simplify

* use correct button in reply
2023-02-14 17:36:38 +01:00

70 lines
884 B
CSS

html,
body,
#root {
height: 100%;
overscroll-behavior: none;
}
*::selection {
color: #fff;
background: hsla(229, 71%, 57%, 1);
}
#app {
height: 100%;
display: grid;
grid-template-columns: 352px 1fr auto;
}
#main {
position: relative;
display: grid;
grid-template-rows: 56px 1fr 100px;
height: 100vh;
}
/* #main,
#sidebar,
#members,
#main > div {
border: 1px solid rgba(0, 0, 0, 0.1);
} */
.composer-input::placeholder {
transition: color 0.2s ease-in-out;
}
#sidebar {
overflow: auto;
height: 100vh;
}
#content {
overflow: auto;
padding: 72px 8px 132px 8px;
height: 100vh;
margin-top: -56px;
}
#composer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
#members {
width: 352px;
overflow: auto;
}
@media screen and (max-width: 768px) {
#app {
grid-template-columns: 1fr;
}
#sidebar {
display: none;
}
}