Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: presets-demo and select-field styles #2045

Merged
merged 3 commits into from
Dec 29, 2021
Merged

fix: presets-demo and select-field styles #2045

merged 3 commits into from
Dec 29, 2021

Conversation

appsparkler
Copy link
Contributor

Fixes:

  • presets demo wasn't working
  • minor style issue when you select the bootstrap in the field for selecting presets.

@vercel
Copy link

vercel bot commented Dec 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/systemui/theme-ui/ETFhTeQePa6D7R8B1aCBGFADWahS
✅ Preview: https://theme-ui-git-fork-appsparkler-develop-systemui.vercel.app

Copy link
Member

@lachlanjc lachlanjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! Looks great.

@@ -46,7 +46,7 @@ export default function PresetsDemo() {
<span>Preset:</span>
<Select
id="theme"
sx={{ display: 'inline-flex' }}
sx={{ display: 'inline-flex', paddingRight: 24 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch here. Let's increase it further though? On my iPhone:

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lachlanjc , I've added the style to the core Select component : chore: update style for core Select component

@@ -16,7 +15,8 @@ import Lorem from './lorem.mdx'

export default function PresetsDemo() {
const [theme, setTheme] = useState('base')
const preset = presets[theme]
const preset = presets[theme]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@lachlanjc lachlanjc added the documentation Changes only affect the documentation label Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Changes only affect the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants