Skip to content

Instantly share code, notes, and snippets.

@Deanout
Created January 24, 2022 11:39
Show Gist options
  • Save Deanout/66ad3e95e37f8b7e5999fa54f9ed6b72 to your computer and use it in GitHub Desktop.
Save Deanout/66ad3e95e37f8b7e5999fa54f9ed6b72 to your computer and use it in GitHub Desktop.
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
* vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any other CSS
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
*= require_tree .
*= require_self
*/
body {
overflow: hidden;
}
.msg-form {
width: 100%;
height: 56px;
padding: 10px;
}
#single_room {
height: calc(100vh - 150px);
}
#messages {
height: calc(100vh - 150px);
overflow-x: hidden;
overflow-y: scroll;
}
#room_container {
height: 100vh;
margin-right: 0px !important;
}
#side_panel {
height: 100vh;
margin-right: 0px !important;
overflow-x: hidden;
overflow-y: scroll;
margin-bottom: 55px;
}
#chatroom_container {
height: 100vh;
margin-right: 0px !important;
overflow-x: hidden;
overflow-y: hidden;
}
.msg-content {
width: 80%;
margin-right: 5px;
}
.message-box {
word-wrap: break-word;
width: fit-content;
max-width: 40%;
padding: 5px;
border-radius: 10px;
margin-bottom: 10px;
background-color: #555555;
padding: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment