Commit 29ddf0b4 authored by JC Brand's avatar JC Brand

CSS: fix line heights

parent d8b2813f
...@@ -130,13 +130,13 @@ css/converse-muc-embedded.min.css:: stamp-bundler sass css/converse-muc-embedded ...@@ -130,13 +130,13 @@ css/converse-muc-embedded.min.css:: stamp-bundler sass css/converse-muc-embedded
css/converse.css:: stamp-bundler sass css/converse.css:: stamp-bundler sass
$(SASS) -I ./node_modules/bourbon/app/assets/stylesheets/ sass/converse.scss css/converse.css $(SASS) -I ./node_modules/bourbon/app/assets/stylesheets/ sass/converse.scss css/converse.css
css/converse.min.css:: stamp-npm css/converse.min.css:: stamp-npm sass
$(CLEANCSS) css/converse.css > css/converse.min.css $(CLEANCSS) css/converse.css > css/converse.min.css
css/theme.min.css:: stamp-npm css/theme.min.css:: stamp-npm css/theme.css
$(CLEANCSS) css/theme.css > css/theme.min.css $(CLEANCSS) css/theme.css > css/theme.min.css
css/mobile.min.css:: stamp-npm css/mobile.min.css:: stamp-npm sass
$(CLEANCSS) css/mobile.css > css/mobile.min.css $(CLEANCSS) css/mobile.css > css/mobile.min.css
.PHONY: watch .PHONY: watch
......
...@@ -2179,7 +2179,7 @@ ...@@ -2179,7 +2179,7 @@
overflow-y: hidden; overflow-y: hidden;
padding: 0.3em 1em; padding: 0.3em 1em;
text-shadow: 0 1px 0 #FAFAFA; text-shadow: 0 1px 0 #FAFAFA;
line-height: 14px; line-height: 16px;
width: 100%; } width: 100%; }
#conversejs #converse-roster .roster-contacts dd .open-chat { #conversejs #converse-roster .roster-contacts dd .open-chat {
max-width: 90%; } max-width: 90%; }
...@@ -2196,12 +2196,14 @@ ...@@ -2196,12 +2196,14 @@
#conversejs #converse-roster .roster-contacts dd.requesting-xmpp-contact .open-chat .req-contact-name { #conversejs #converse-roster .roster-contacts dd.requesting-xmpp-contact .open-chat .req-contact-name {
width: 100%; } width: 100%; }
#conversejs #converse-roster .roster-contacts dd.requesting-xmpp-contact .req-contact-name { #conversejs #converse-roster .roster-contacts dd.requesting-xmpp-contact .req-contact-name {
line-height: 16px;
width: 69%; width: 69%;
padding: 0; } padding: 0; }
#conversejs #converse-roster .roster-contacts dd.current-xmpp-contact span { #conversejs #converse-roster .roster-contacts dd.current-xmpp-contact span {
font-size: 16px; font-size: 16px;
float: left; float: left;
color: #2A9D8F; } color: #2A9D8F;
padding-right: 0.5em; }
#conversejs #converse-roster .roster-contacts dd.odd { #conversejs #converse-roster .roster-contacts dd.odd {
background-color: #DCEAC5; background-color: #DCEAC5;
/* Make this difference */ } /* Make this difference */ }
...@@ -2221,7 +2223,8 @@ ...@@ -2221,7 +2223,8 @@
display: none; display: none;
color: #818479; } color: #818479; }
#conversejs #converse-roster span.pending-contact-name { #conversejs #converse-roster span.pending-contact-name {
width: 80%; } line-height: 16px;
width: 100%; }
#converse-embedded-chat .new-chatroom-nick, #converse-embedded-chat .new-chatroom-nick,
#conversejs .new-chatroom-nick { #conversejs .new-chatroom-nick {
......
...@@ -86,7 +86,8 @@ ...@@ -86,7 +86,8 @@
prebind: false, prebind: false,
show_controlbox_by_default: true, show_controlbox_by_default: true,
debug: true, debug: true,
roster_groups: true roster_groups: true,
keepalive: true
}); });
}); });
</script> </script>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
overflow-y: hidden; overflow-y: hidden;
padding: 0.3em 1em; padding: 0.3em 1em;
text-shadow: 0 1px 0 $text-shadow-color; text-shadow: 0 1px 0 $text-shadow-color;
line-height: $font-size; line-height: $line-height;
width: 100%; width: 100%;
.open-chat { .open-chat {
max-width: 90%; max-width: 90%;
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
} }
} }
.req-contact-name { .req-contact-name {
line-height: $line-height;
width: 69%; width: 69%;
padding: 0; padding: 0;
} }
...@@ -135,6 +136,7 @@ ...@@ -135,6 +136,7 @@
font-size: 16px; font-size: 16px;
float: left; float: left;
color: $link-color; color: $link-color;
padding-right: 0.5em;
} }
&.odd { &.odd {
background-color: #DCEAC5; background-color: #DCEAC5;
...@@ -165,7 +167,8 @@ ...@@ -165,7 +167,8 @@
} }
span { span {
&.pending-contact-name { &.pending-contact-name {
width: 80%; line-height: $line-height;
width: 100%;
} }
} }
} }
...@@ -54,6 +54,8 @@ $font-size: 14px !default; ...@@ -54,6 +54,8 @@ $font-size: 14px !default;
$font-size-large: 16px !default; $font-size-large: 16px !default;
$legend-font-size: 16px !default; $legend-font-size: 16px !default;
$line-height: 16px !default;
$chat-width: 200px !default; $chat-width: 200px !default;
$chat-height: 450px !default; $chat-height: 450px !default;
$chat-gutter: 0.5em !default; $chat-gutter: 0.5em !default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment