Skip to content

Commit

Permalink
Website: CSS Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Oct 10, 2024
1 parent 32ad567 commit 434cb62
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ export default function BrowserChrome({
const addressBarClass = classNames(css.addressBarSlot, {
[css.isHidden]: !showAddressBar,
});
const wrapperClass = classNames(css.wrapper, css.hasFullSizeWindow, className);
const wrapperClass = classNames(
css.wrapper,
css.hasFullSizeWindow,
className
);

return (
<div
className={wrapperClass}
data-cy="simulated-browser"
>
<div className={wrapperClass} data-cy="simulated-browser">
<div className={`${css.window} browser-chrome-window`}>
<header
className={`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function BlueprintsPanel({
style={{ paddingBottom: 10 }}
>
{mobileUi && (
<FlexItem>
<FlexItem style={{ marginLeft: -17 }}>
<Button
variant="link"
label="Back to sites list"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export const SiteManager = forwardRef<
if (fullScreenSections) {
return (
<div className={classNames(css.siteManager, className)} ref={ref}>
{activeSiteManagerSection === 'sidebar' ? sidebar : activePanel}
{activeSiteManagerSection === 'sidebar' || !activePanel
? sidebar
: activePanel}
</div>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function SiteInfoPanel({
style={{ paddingBottom: 10 }}
>
{mobileUi && (
<FlexItem>
<FlexItem style={{ marginLeft: -20 }}>
<Button
variant="link"
label="Back to sites list"
Expand Down

0 comments on commit 434cb62

Please sign in to comment.