Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9479703

Browse files
author
Rajeev Kumar Singh
committed
sockjs local and css
1 parent d742dc1 commit 9479703

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

‎src/main/resources/static/css/main.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body {
1717
font-size: 1rem;
1818
line-height: 1.58;
1919
color: #333;
20-
background-color: #edecec;
20+
background-color: #f4f4f4;
2121
height: 100%;
2222
}
2323

@@ -146,7 +146,7 @@ button.accent {
146146
box-shadow: 0 1px 11px rgba(0, 0, 0, 0.27);
147147
margin-top: 30px;
148148
height: calc(100% - 50px);
149-
max-height: 650px;
149+
max-height: 600px;
150150
position: relative;
151151
}
152152

@@ -236,9 +236,8 @@ button.accent {
236236
border-bottom: 1px solid #ececec;
237237
}
238238

239-
.chat-header p {
239+
.chat-header h2 {
240240
margin: 0;
241-
font-size: 17px;
242241
font-weight: 500;
243242
}
244243

@@ -281,7 +280,7 @@ button.accent {
281280
top: 60px;
282281
}
283282

284-
.chat-header p {
285-
font-size: 14px;
283+
.chat-header h2 {
284+
font-size: 15px;
286285
}
287286
}

‎src/main/resources/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1 class="title">Type your username</h1>
2727
<div id="chat-page" class="hidden">
2828
<div class="chat-container">
2929
<div class="chat-header">
30-
<p>Spring WebSocket Chat Demo - Built with love by <ahref="https://www.callicoder.com">CalliCoder</a></p>
30+
<h2>Spring WebSocket Chat Demo</h2>
3131
</div>
3232
<div class="connecting">
3333
Connecting...
@@ -46,7 +46,7 @@ <h1 class="title">Type your username</h1>
4646
</div>
4747
</div>
4848

49-
<script src="https://cdn.jsdelivr.net/sockjs/1/sockjs.min.js"></script>
49+
<script src="/js/sockjs.min.js"></script>
5050
<script src="/js/stomp.min.js"></script>
5151
<script src="/js/main.js"></script>
5252
</body>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /