styles: fix tags padding
This commit is contained in:
@@ -25,7 +25,7 @@ const NoteTags = observer(({ application, appState }: Props) => {
|
|||||||
<div className="flex flex-wrap">
|
<div className="flex flex-wrap">
|
||||||
{activeNoteTags.map((tag, index) => (
|
{activeNoteTags.map((tag, index) => (
|
||||||
<button
|
<button
|
||||||
className={`bg-contrast border-0 rounded text-xs color-text p-1 flex items-center
|
className={`bg-contrast border-0 rounded text-xs color-text py-0.5 pl-1 pr-2 flex items-center
|
||||||
mt-2 mr-2 cursor-pointer hover:bg-secondary-contrast focus:bg-secondary-contrast`}
|
mt-2 mr-2 cursor-pointer hover:bg-secondary-contrast focus:bg-secondary-contrast`}
|
||||||
ref={index === activeNoteTags.length - 1 ? lastTagRef : undefined}
|
ref={index === activeNoteTags.length - 1 ? lastTagRef : undefined}
|
||||||
onKeyUp={(event) => {
|
onKeyUp={(event) => {
|
||||||
|
|||||||
@@ -61,8 +61,17 @@
|
|||||||
margin-right: 0.25rem;
|
margin-right: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-1 {
|
.py-0\.5 {
|
||||||
padding: 0.25rem;
|
padding-top: 0.125rem;
|
||||||
|
padding-bottom: 0.125rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-1 {
|
||||||
|
padding-left: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-2 {
|
||||||
|
padding-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.py-1\.5 {
|
.py-1\.5 {
|
||||||
|
|||||||
Reference in New Issue
Block a user