Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix setting TOS component position
  • Loading branch information
retrofox committed Sep 28, 2022
commit 2efa1de61d8f941d7b943c3737b82c29aa656425
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ const PricingTable: React.FC< PricingTableProps > = ( { title, items, children }
) ) }
{ children }
</div>
<div className={ styles[ 'tos-container' ] }>
<Text className={ styles.tos } variant="body-small">
{ ToS }
</Text>
</div>
</div>
<div className={ styles[ 'tos-container' ] }>
<Text className={ styles.tos } variant="body-small">
{ ToS }
</Text>
</div>
</PricingTableContext.Provider>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@
}

.tos-container {
.is-viewport-large & {
display: grid;
grid-template-columns: repeat( var( --columns ), 1fr );
grid-auto-flow: column;
column-gap: var( --gap );
}
}
display: flex;
align-items: right;
justify-content: right;
margin: 0 calc( var( --spacing-base ) * 4 );
}