mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Remove Bootstrap 3 code from IDE page components (#23061)
GitOrigin-RevId: b41aff10672bf96e892de0be396a69eb25e2443b
This commit is contained in:
+4
-5
@@ -1,5 +1,4 @@
|
||||
import { EditorView } from '@codemirror/view'
|
||||
import { isBootstrap5 } from '@/features/utils/bootstrap-5'
|
||||
|
||||
export const tableGeneratorTheme = EditorView.baseTheme({
|
||||
'&dark .table-generator': {
|
||||
@@ -349,7 +348,7 @@ export const tableGeneratorTheme = EditorView.baseTheme({
|
||||
gap: '6px',
|
||||
'align-items': 'flex-start',
|
||||
'max-width': '240px',
|
||||
'font-family': isBootstrap5() ? 'var(--bs-body-font-family)' : 'Lato',
|
||||
'font-family': 'var(--bs-body-font-family)',
|
||||
|
||||
'& .info-icon': {
|
||||
flex: ' 0 0 24px',
|
||||
@@ -370,7 +369,7 @@ export const tableGeneratorTheme = EditorView.baseTheme({
|
||||
display: 'flex',
|
||||
'align-items': 'center',
|
||||
'justify-content': 'space-between',
|
||||
'font-family': isBootstrap5() ? 'var(--bs-body-font-family)' : 'Lato',
|
||||
'font-family': 'var(--bs-body-font-family)',
|
||||
height: '36px',
|
||||
|
||||
'&:not(:first-child)': {
|
||||
@@ -417,7 +416,7 @@ export const tableGeneratorTheme = EditorView.baseTheme({
|
||||
'column-gap': '8px',
|
||||
'align-self': 'stretch',
|
||||
padding: '12px 8px',
|
||||
'font-family': isBootstrap5() ? 'var(--bs-body-font-family)' : 'Lato',
|
||||
'font-family': 'var(--bs-body-font-family)',
|
||||
|
||||
'& .table-generator-button-label': {
|
||||
'align-self': 'stretch',
|
||||
@@ -483,7 +482,7 @@ export const tableGeneratorTheme = EditorView.baseTheme({
|
||||
'.ol-cm-environment-table.table-generator-error-container, .ol-cm-environment-table.ol-cm-tabular':
|
||||
{
|
||||
background: 'rgba(125, 125, 125, 0.05)',
|
||||
'font-family': isBootstrap5() ? 'var(--bs-body-font-family)' : 'Lato',
|
||||
'font-family': 'var(--bs-body-font-family)',
|
||||
},
|
||||
|
||||
'.table-generator-filler-row': {
|
||||
|
||||
Reference in New Issue
Block a user