Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/app/components/pages/SubjectLandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const RandomQuestionBanner = ({context}: {context?: PageContextState}) => {
return <div className="d-flex flex-column pb-4 container-override random-question-panel" >
<div className="d-flex my-3 justify-content-between align-items-center">
<h4 className="m-0">Try a random question!</h4>
<button className="btn btn-link invert-underline d-flex align-items-center gap-2" onClick={handleGetDifferentQuestion}>
<button className="btn btn-link invert-underline d-flex align-items-center gap-2 p-1" onClick={handleGetDifferentQuestion}>
Get a different question
<i className="icon icon-refresh icon-color-black"/>
</button>
Expand Down
8 changes: 4 additions & 4 deletions src/scss/phy/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
opacity: 100%;

&:focus:not(:focus-visible) {
outline: none !important;
box-shadow: 0 0 0 3px var(--buttons-light), 0 0 0 4.5px var(--buttons-focus-ring) !important;
outline: 1px solid var(--buttons-focus-ring) !important;
outline-offset: 3px;
}

&.btn-sm {
Expand Down Expand Up @@ -126,8 +126,8 @@
}

&:focus:not(:focus-visible) {
// TODO: depending on use case (colour of background this is used on), we may need to change how this offset border is generated
box-shadow: 0 0 0 3px var(--buttons-dark), 0 0 0 4.5px var(--buttons-focus-ring) !important;
outline: 2px solid var(--buttons-focus-ring) !important;
outline-offset: 3px;
}

&:disabled, &.disabled {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading