mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
feat: enhanced status bar with word count, char count, line/col, encoding
- Restructured status bar into left/right sections with separators - Added character count, cursor line/column position, encoding, and language mode indicators - Added cursor position tracking via CodeMirror onUpdate callback - Added file path display that updates on tab switch - Simplified word count display for cleaner status bar layout
This commit is contained in:
+26
-4
@@ -139,11 +139,18 @@ body {
|
||||
background: #d0d0d0;
|
||||
}
|
||||
|
||||
.toolbar-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
.toolbar-separator {
|
||||
width: 1px;
|
||||
height: 24px;
|
||||
background: #ccc;
|
||||
margin: 0 8px;
|
||||
height: 20px;
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
margin: 0 6px;
|
||||
align-self: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Editor Container */
|
||||
@@ -287,11 +294,26 @@ body {
|
||||
.status-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 4px 12px;
|
||||
align-items: center;
|
||||
padding: 2px 12px;
|
||||
background: #f5f5f5;
|
||||
border-top: 1px solid #ddd;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
min-height: 24px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.status-bar-left, .status-bar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.status-separator {
|
||||
color: var(--gray-300, #d1d5db);
|
||||
margin: 0 2px;
|
||||
}
|
||||
.status-item {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Preview Styles */
|
||||
|
||||
Reference in New Issue
Block a user