Skip to content

Commit

Permalink
small ui adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
targoninc-alex committed May 28, 2024
1 parent ab5e509 commit 67b2228
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ui/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ button.double, input.double, textarea.double, select.double {
padding: var(--input-padding-v) calc(var(--input-padding-h) * 2);
}

div {
box-sizing: border-box;
}

a {
color: var(--text);
text-decoration: none;
Expand Down
4 changes: 2 additions & 2 deletions ui/classes.css
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@

.channel {
padding: var(--gap-h) var(--gap-v);
width: calc(100% - 2 * var(--gap-v));
width: 100%;
background: var(--bg);
border-radius: var(--input-border-radius);
border-bottom: var(--input-border-width) solid var(--bg-4);
color: var(--text);
font-size: 1.2em;
Expand All @@ -183,6 +182,7 @@

.channel.active {
background: var(--bg-2);
border-right: 10px solid var(--blue);
}

.text-small {
Expand Down
2 changes: 1 addition & 1 deletion ui/components/pages/chat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ChatComponent {
static channelList(channels, activeChannel) {
return signalMap(channels,
create("div")
.classes("flex-v")
.classes("flex-v", "no-gap")
, channel => {
if (channel.type === "gr") {
return ChatComponent.groupChannel(channel, activeChannel);
Expand Down

0 comments on commit 67b2228

Please sign in to comment.