Release v0.4.0: dev -> main #251
@@ -127,8 +127,19 @@ body {
|
||||
.pane-l-col { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
|
||||
.pane-l-head { flex-shrink: 0; }
|
||||
.editor-head {
|
||||
display: flex; align-items: center; gap: 12px; padding: 12px 16px;
|
||||
display: flex; align-items: stretch; gap: 12px; padding: 12px 16px;
|
||||
}
|
||||
/* #147: title lives in its own pill; select+refresh stay paired in a second pill */
|
||||
.editor-head-title,
|
||||
.editor-head-settings {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
background: var(--surface-2); border: 1px solid var(--border);
|
||||
border-radius: var(--radius); padding: 6px 10px;
|
||||
}
|
||||
.editor-head-title { flex: 1; min-width: 0; }
|
||||
.editor-head-settings { flex: 0 0 fit-content; }
|
||||
.editor-head-title:focus-within,
|
||||
.editor-head-settings:focus-within { border-color: var(--accent); }
|
||||
.editor-head input {
|
||||
border: none; outline: none; background: transparent; color: var(--fg); font: inherit; font-size: 23.2px; flex: 1;
|
||||
}
|
||||
@@ -519,8 +530,11 @@ a.admin-link:hover { color: var(--fg); text-decoration: underline; }
|
||||
.editor-wrap { min-height: 45vh; }
|
||||
.editor { font-size: 15px; }
|
||||
.gutter { font-size: 15px; }
|
||||
.editor-head { flex-wrap: wrap; }
|
||||
.editor-head-title { flex: 1 1 100%; }
|
||||
.editor-head input { min-width: 0; font-size: 16px; }
|
||||
.editor-head select { max-width: 120px; font-size: 14px; }
|
||||
.editor-head-title, .editor-head-settings { padding: 4px 8px; }
|
||||
.actionbar { flex-wrap: wrap; }
|
||||
.actionbar .btn { padding: 12px 22px; }
|
||||
.hint { font-size: 13px; }
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
<div class="pane-l-col">
|
||||
<div class="float pane-l-head">
|
||||
<div class="editor-head">
|
||||
<input id="title" placeholder="Title">
|
||||
<div class="editor-head-title">
|
||||
<input id="title" placeholder="Title">
|
||||
</div>
|
||||
<div class="editor-head-settings">
|
||||
<select id="language">
|
||||
<option value="">auto</option>
|
||||
<option>go</option><option>python</option><option>javascript</option><option>typescript</option>
|
||||
@@ -17,6 +20,7 @@
|
||||
</select>
|
||||
<button class="btn btn-icon" id="reguess" title="Re-detect language" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12a9 9 0 1 1-2.64-6.36"/><polyline points="21 3 21 9 15 9"/></svg></button>
|
||||
<button type="button" class="btn btn-icon wrap-toggle" id="wrap-toggle" title="Toggle line wrap" aria-pressed="false">wrap</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="float editor-wrap">
|
||||
|
||||
Reference in New Issue
Block a user