mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
fix(ui): reduce font size of highlight metadata for cleaner look
This commit is contained in:
@@ -44,7 +44,7 @@ export const HighlightButton = React.forwardRef<HighlightButtonRef, HighlightBut
|
|||||||
<button
|
<button
|
||||||
className="highlight-fab"
|
className="highlight-fab"
|
||||||
style={{
|
style={{
|
||||||
position: 'absolute',
|
position: 'fixed',
|
||||||
bottom: '32px',
|
bottom: '32px',
|
||||||
right: '32px',
|
right: '32px',
|
||||||
zIndex: 1000,
|
zIndex: 1000,
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ const ThreePaneLayout: React.FC<ThreePaneLayoutProps> = (props) => {
|
|||||||
settings={props.settings}
|
settings={props.settings}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="pane main" style={{ position: 'relative' }}>
|
<div className="pane main">
|
||||||
{props.showSettings ? (
|
{props.showSettings ? (
|
||||||
<Settings
|
<Settings
|
||||||
settings={props.settings}
|
settings={props.settings}
|
||||||
@@ -138,13 +138,6 @@ const ThreePaneLayout: React.FC<ThreePaneLayoutProps> = (props) => {
|
|||||||
settings={props.settings}
|
settings={props.settings}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{props.hasActiveAccount && (
|
|
||||||
<HighlightButton
|
|
||||||
ref={props.highlightButtonRef}
|
|
||||||
onHighlight={props.onCreateHighlight}
|
|
||||||
highlightColor={props.settings.highlightColor || '#ffff00'}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<div className="pane highlights">
|
<div className="pane highlights">
|
||||||
<HighlightsPanel
|
<HighlightsPanel
|
||||||
@@ -167,6 +160,13 @@ const ThreePaneLayout: React.FC<ThreePaneLayoutProps> = (props) => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{props.hasActiveAccount && (
|
||||||
|
<HighlightButton
|
||||||
|
ref={props.highlightButtonRef}
|
||||||
|
onHighlight={props.onCreateHighlight}
|
||||||
|
highlightColor={props.settings.highlightColor || '#ffff00'}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<RelayStatusIndicator relayPool={props.relayPool} />
|
<RelayStatusIndicator relayPool={props.relayPool} />
|
||||||
{props.toastMessage && (
|
{props.toastMessage && (
|
||||||
<Toast
|
<Toast
|
||||||
|
|||||||
@@ -1642,7 +1642,7 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.8rem;
|
||||||
color: #888;
|
color: #888;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user