Skip to content

Commit deda371

Browse files
committed
[ change ] Make the connectino status more like a clickable button
1 parent 910852a commit deda371

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

style/style.less

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@
124124

125125
background: @header-background;
126126

127-
line-height: @header-height;
127+
// flexbox layout for proper alignment
128+
display: flex;
129+
justify-content: space-between;
130+
align-items: center;
131+
128132
font-size: var(--agdaMode-buffer-font-size);
129133
font-weight: bold;
130134

@@ -143,8 +147,15 @@
143147
.agda-mode-header-connection-status {
144148
color: @foreground-subtle;
145149
font-size: 50%;
146-
font-variant: small-caps;
147-
float: right
150+
// font-variant: small-caps;
151+
152+
&.clickable {
153+
cursor: pointer;
154+
155+
&:hover {
156+
color: @foreground-highlight;
157+
}
158+
}
148159
}
149160
}
150161

0 commit comments

Comments
 (0)