Skip to content

Commit 2e99c25

Browse files
committed
share button height
1 parent 5c947c6 commit 2e99c25

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/resources/css/scribbler-global.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,7 @@ table td:first-child {
341341
/* CSS for form inputs */
342342
input[type=text],[type=email], select, textarea, email {
343343
width: 100%;
344-
padding: 10px;
345-
344+
padding: 5px;
346345
border: 1px solid #ccc;
347346
border-radius: 5px;
348347
box-sizing: border-box;

src/resources/css/scribbler-landing.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Fork REPL button */
435435
}
436436

437437
.widget {
438-
display: inline-block;
438+
display: inline-flex;
439439
overflow: hidden;
440440
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
441441
font-size:0;
@@ -447,15 +447,15 @@ Fork REPL button */
447447
}
448448
.forkbtn,
449449
.social-count {
450-
display:inline-block;
451-
height:16px;
450+
display:inline-flex;
452451
padding:0.5px 3px;
453452
font-size:11px;font-weight:600;
454453
line-height:14px;
455454
vertical-align:bottom;
456455
cursor:pointer;
457456
border:1px solid #c5c9cc;
458457
border-radius:0.25em;
458+
align-items: center;
459459
}
460460
.forkbtn {
461461
background-color:#eff3f6;

src/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,14 @@ <h1 class="hero__title" itemprop="name" ><span class="hero__title_pre">Open</spa
237237
<option value="tclsh" data-editor="tcl">Tcl</option>
238238
</select>
239239

240-
<div class="widget" id="fork-widget">
240+
<div class="widget" id="fork-widget" style="margin:7px;font-size:15px;height:25px;">
241241
<a class="forkbtn" href="" target="_blank" >
242242
<svg version="1.1" width="8.75" height="14" viewBox="0 0 10 16" class="octicon octicon-repo-forked" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
243243
<span>Fork REPL</span>
244244
</a>
245245
<span class="social-count"><b></b><i></i>0</span>
246246
</div>
247-
<div class="share-btn" onclick="myDropDownToggle()" id="share-btn-1">
247+
<div class="share-btn" onclick="myDropDownToggle()" id="share-btn-1" style="margin:7px;font-size:15px;height:25px;">
248248
<svg version="1.0" width="11" height="16" viewBox="0 0 48.000000 48.000000"
249249
preserveAspectRatio="xMidYMid meet" class="octicon">
250250
<g transform="translate(0.000000,48.000000) scale(0.100000,-0.100000)"

0 commit comments

Comments
 (0)