mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
* feat: interface zoom control settings * fix: allow zoom controls using shortcuts * fix: maintain consitency in zoom shortcuts and ui interface * fix: added min max to 50% and 150% for zoom * fix: moved percentageToZoomLevel function in bruno-common * chore: abstractions --------- Co-authored-by: shubh-bruno <shubh-bruno@shubh-bruno.local>
22 lines
540 B
JavaScript
22 lines
540 B
JavaScript
import React from 'react';
|
|
import Font from './Font/index';
|
|
import Zoom from './Zoom/index';
|
|
|
|
const Display = ({ close }) => {
|
|
return (
|
|
<div className="flex flex-col gap-4 w-full">
|
|
<div className="section-header">Display</div>
|
|
<div className="flex flex-col mb-2 gap-10 w-full">
|
|
<div className="w-fit flex flex-col gap-2">
|
|
<Font close={close} />
|
|
</div>
|
|
<div className="w-full flex flex-col gap-2">
|
|
<Zoom />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Display;
|